1
0
Fork 0
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:
Ylian Saint-Hilaire 2021-03-18 22:13:11 -07:00
parent 26fa971da4
commit 302f1b0bba
3 changed files with 31 additions and 30 deletions

View file

@ -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;
}