Check for security update on sign in

This commit is contained in:
Mo Bitar
2017-10-16 09:40:01 -05:00
parent 7e3a124112
commit 5105a8af9a

View File

@@ -152,6 +152,8 @@ angular.module('app.frontend')
this.handleAuthResponse(response, email, url, authParams, keys);
storageManager.setModelStorageMode(ephemeral ? StorageManager.Ephemeral : StorageManager.Fixed);
this.checkForSecurityUpdate();
callback(response);
}.bind(this), function(response){
console.error("Error logging in", response);
@@ -267,8 +269,6 @@ angular.module('app.frontend')
}
}
this.checkForSecurityUpdate();
this.staticifyObject = function(object) {
return JSON.parse(JSON.stringify(object));
}