mv Passphrase logic to Storage

This commit is contained in:
Matias Alejo Garcia 2014-09-30 20:29:56 -03:00
commit 74129a6923
4 changed files with 20 additions and 8 deletions

View file

@ -113,7 +113,6 @@ Identity.create = function(email, password, opts, cb) {
Identity._createProfile(email, password, iden.storage, function(err, profile) {
if (err) return cb(err);
iden.profile = profile;
console.log('[Identity.js.115:profile:]',profile); //TODO
if (opts.noWallets)
cb(null, iden);