1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Add login check

This commit is contained in:
Dan Finlay 2016-06-02 17:11:10 -07:00
parent 9cc04be5e4
commit 07617dbb07

View File

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