Fixed missing identity section (Closes #456)

This commit is contained in:
RainLoop Team 2015-02-16 17:46:22 +04:00
parent 5c00815d31
commit 7807138b7b
6 changed files with 95 additions and 91 deletions

View file

@ -14,6 +14,7 @@
AccountStore = require('Stores/User/Account'),
IdentityStore = require('Stores/User/Identity'),
Settings = require('Storage/Settings'),
Remote = require('Storage/User/Remote')
;
@ -22,6 +23,9 @@
*/
function AccountsUserSettings()
{
this.allowAdditionalAccount = Settings.capa(Enums.Capa.AdditionalAccounts);
this.allowIdentities = true;
this.accounts = AccountStore.accounts;
this.identities = IdentityStore.identities;