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:
parent
9cc04be5e4
commit
07617dbb07
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user