mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
#2381, can now remove autocomplete on login page.
This commit is contained in:
parent
26fa971da4
commit
302f1b0bba
3 changed files with 31 additions and 30 deletions
|
@ -6510,6 +6510,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
|
|||
}
|
||||
xargs.extitle = encodeURIComponent(xargs.title).split('\'').join('\\\'');
|
||||
xargs.domainurl = domain.url;
|
||||
xargs.autocomplete = (domain.autocomplete === false)?'x':'autocomplete'; // This option allows autocomplete to be turned off on the login page.
|
||||
if (typeof domain.hide == 'number') { xargs.hide = domain.hide; }
|
||||
return xargs;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue