mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 05:29:20 +03:00
Warning! Breaking change!
Removed "additional Login field" on login page (Security reason) (Closes #206) Added "custom-login-mapping" plugin
This commit is contained in:
parent
9643c621f1
commit
81e25b4235
24 changed files with 246 additions and 303 deletions
|
|
@ -7,7 +7,6 @@ function AdminLogin()
|
|||
{
|
||||
var oData = RL.data();
|
||||
|
||||
this.allowCustomLogin = oData.allowCustomLogin;
|
||||
this.determineUserLanguage = oData.determineUserLanguage;
|
||||
|
||||
this.defaultDomain = ko.observable(RL.settingsGet('LoginDefaultDomain'));
|
||||
|
|
@ -31,12 +30,6 @@ AdminLogin.prototype.onBuild = function ()
|
|||
});
|
||||
});
|
||||
|
||||
self.allowCustomLogin.subscribe(function (bValue) {
|
||||
RL.remote().saveAdminConfig(null, {
|
||||
'AllowCustomLogin': bValue ? '1' : '0'
|
||||
});
|
||||
});
|
||||
|
||||
self.allowLanguagesOnLogin.subscribe(function (bValue) {
|
||||
RL.remote().saveAdminConfig(null, {
|
||||
'AllowLanguagesOnLogin': bValue ? '1' : '0'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue