From 07617dbb075bc0d98725e1116bc936aabda65486 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Thu, 2 Jun 2016 17:11:10 -0700 Subject: [PATCH] Add login check --- app/scripts/lib/idStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js index 991827603..e9fc10cea 100644 --- a/app/scripts/lib/idStore.js +++ b/app/scripts/lib/idStore.js @@ -61,7 +61,7 @@ IdentityStore.prototype.createNewVault = function(password, entropy, cb){ IdentityStore.prototype.recoverSeed = function(cb){ configManager.setShowSeedWords(true) - if (!this_idmgmt) return cb(new Error('Unauthenticated. Please sign in.')) + if (!this._idmgmt) return cb(new Error('Unauthenticated. Please sign in.')) var seedWords = this._idmgmt.getSeed() cb(null, seedWords) }