domain short login configuration fix

This commit is contained in:
RainLoop Team 2013-11-19 19:42:52 +04:00
parent 6f258f2c60
commit 803217d5d5
7 changed files with 57 additions and 41 deletions

View file

@ -567,7 +567,7 @@ RainLoopApp.prototype.bootstart = function ()
bTwitter = this.settingsGet('AllowTwitterSocial')
;
if (!this.settingsGet('RemoteChangePassword'))
if (!this.settingsGet('AllowChangePassword'))
{
Utils.removeSettingsViewModel(SettingsChangePasswordScreen);
}

View file

@ -34,14 +34,14 @@ function WebMailDataStorage()
this.devPassword = '';
this.accountEmail = ko.observable('');
this.accountLogin = ko.observable('');
this.accountIncLogin = ko.observable('');
this.accountOutLogin = ko.observable('');
this.projectHash = ko.observable('');
this.threading = ko.observable(false);
this.lastFoldersHash = '';
this.remoteSuggestions = false;
this.remoteChangePassword = false;
// system folders
this.sentFolder = ko.observable('');
@ -389,7 +389,8 @@ WebMailDataStorage.prototype.populateDataOnStart = function()
AbstractData.prototype.populateDataOnStart.call(this);
this.accountEmail(RL.settingsGet('Email'));
this.accountLogin(RL.settingsGet('Login'));
this.accountIncLogin(RL.settingsGet('IncLogin'));
this.accountOutLogin(RL.settingsGet('OutLogin'));
this.projectHash(RL.settingsGet('ProjectHash'));
this.displayName(RL.settingsGet('DisplayName'));
@ -399,7 +400,6 @@ WebMailDataStorage.prototype.populateDataOnStart = function()
this.lastFoldersHash = RL.local().get(Enums.ClientSideKeyName.FoldersLashHash) || '';
this.remoteSuggestions = !!RL.settingsGet('RemoteSuggestions');
this.remoteChangePassword = !!RL.settingsGet('RemoteChangePassword');
this.devEmail = RL.settingsGet('DevEmail');
this.devLogin = RL.settingsGet('DevLogin');