mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
add language selector to login (#5648)
* add language selector to login * add showLanguageSelect to pick top or bottom boxe
This commit is contained in:
parent
f33dbd31e5
commit
e4001e67ef
3 changed files with 41 additions and 2 deletions
|
@ -3341,7 +3341,9 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF
|
|||
twoFactorCookieDays: twoFactorCookieDays,
|
||||
authStrategies: authStrategies.join(','),
|
||||
loginpicture: (typeof domain.loginpicture == 'string'),
|
||||
tokenTimeout: twoFactorTimeout // Two-factor authentication screen timeout in milliseconds
|
||||
tokenTimeout: twoFactorTimeout, // Two-factor authentication screen timeout in milliseconds,
|
||||
renderLanguages: obj.renderLanguages,
|
||||
showLanguageSelect: domain.showlanguageselect ? domain.showlanguageselect : false,
|
||||
}, req, domain, (domain.sitestyle == 2) ? 'login2' : 'login'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue