Do not show backupFlag if email not confirmed

This commit is contained in:
Matias Pando 2014-12-02 11:23:49 -03:00
commit 1542e0986b
3 changed files with 6 additions and 15 deletions

View file

@ -576,9 +576,9 @@ Identity.prototype.createWallet = function(opts, cb) {
self.bindWallet(w);
self.updateFocusedTimestamp(w.getId());
self.storeWallet(w, function(err) {
if (err) return cb(err); << << << < HEAD === === =
if (err) return cb(err);
self.backupNeeded = true; >>> >>> > Added the flag backupNeeded
self.backupNeeded = true;
self.store({
noWallets: true,
}, function(err) {