move passphrase config
This commit is contained in:
parent
3434393b21
commit
1dc1e0a017
2 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
function Passphrase(config) {
|
||||
config = config || {};
|
||||
this.salt = config.storageSalt || 'mjuBtGybi/4=';
|
||||
this.salt = config.salt || 'mjuBtGybi/4=';
|
||||
this.iterations = config.iterations || 1000;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
var passphrase;
|
||||
angular.module('copay.passphrase').factory('Passphrase', function($rootScope) {
|
||||
passphrase = passphrase || new copay.Passphrase(config);
|
||||
passphrase = passphrase || new copay.Passphrase(config.passphrase);
|
||||
return passphrase;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue