Use local sfjs

This commit is contained in:
Mo Bitar
2018-05-15 12:56:38 -05:00
parent 543019e63c
commit 0ba223e604
4 changed files with 3785 additions and 9 deletions

View File

@@ -35,7 +35,7 @@ angular.module('app')
}
this._keys = keys;
this.decryptLocalStorage(keys);
this.decryptLocalStorage(keys, params);
this._locked = false;
callback(true);
});
@@ -76,8 +76,8 @@ angular.module('app')
storageManager.setItemsMode(authManager.isEphemeralSession() ? StorageManager.Ephemeral : StorageManager.FixedEncrypted, true);
}
this.decryptLocalStorage = function(keys) {
storageManager.setKeys(keys);
this.decryptLocalStorage = function(keys, authParams) {
storageManager.setKeys(keys, authParams);
storageManager.decryptStorage();
}
}