🐤 Sync 2026-07-30 00:01:42

This commit is contained in:
github-actions[bot] committed 2026-07-30 00:01:42 +08:00
1 parent 04fb515e5a
commit 6a78b2a925
34 files changed
+472 -290

No files matched your search

@@ -60,6 +60,21 @@ return view.extend({
o.retain = true;
o.depends('use_auth', '1');
o = s.option(form.ListValue, 'autologin_user', _('Auto login user'),
_('Automatically login/logout of the specified user based on LuCI credentials.'));
o.load = function(section_id) {
delete this.keylist;
delete this.vallist;
const users = uci.get(this.config, section_id, 'auth_users');
this.value('', _('none'));
for (const userpw of users)
this.value(userpw.split(':')[0]);
return this.super('load', section_id);
}
o.depends('use_auth', '1');
o = s.option(form.Flag, 'global_readonly', _('Global Readonly'));
o.default = o.disabled;
o.rmempty = false;