1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Stie style 2 is now the default.

This commit is contained in:
Ylian Saint-Hilaire 2020-11-28 13:08:57 -08:00
parent 4b4380c2f5
commit 53147d50df
3 changed files with 3 additions and 2 deletions

View file

@ -1104,6 +1104,7 @@ function CreateMeshCentralServer(config, args) {
return;
}
if ((obj.config.domains[i].auth == 'ldap') || (obj.config.domains[i].auth == 'sspi')) { obj.config.domains[i].newaccounts = 0; } // No new accounts allowed in SSPI/LDAP authentication modes.
if (obj.config.domains[i].sitestyle == null) { obj.config.domains[i].sitestyle = 2; } // Default to site style #2
// Convert newAccountsRights from a array of strings to flags number.
obj.config.domains[i].newaccountsrights = obj.common.meshServerRightsArrayToNumber(obj.config.domains[i].newaccountsrights);