Signed-off-by: Kirill Fertikov <redacted>
o.datatype = 'base64';
o.password = true;
o.size = 12;
- o.modalonly = true;;
+ o.modalonly = true;
optfunc(form.Value, 'plugin', _('Plugin')).modalonly = true;
o.datatype = 'hostport';
}
}
+ if (stype === 'ss_local' || stype === 'ss_server') {
+ o = s.taboption('advanced', form.FileUpload, 'acl',
+ _('ACL file'),
+ _('File containing Access Control List'));
+ o.root_directory = '/etc/shadowsocks-libev';
+ }
}, this));
}
};