move passphrase config

This commit is contained in:
Matias Alejo Garcia 2014-05-07 10:31:57 -03:00
commit 1dc1e0a017
2 changed files with 2 additions and 2 deletions

View file

@ -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;
};

View file

@ -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;
});