mirror of
https://github.com/amark/gun.git
synced 2025-06-05 21:56:51 +00:00
Something more minor typo fixes to authrecall
This commit is contained in:
parent
fa8882b66a
commit
6fd2c0c1fa
5
sea.js
5
sea.js
@ -538,7 +538,7 @@
|
||||
const { epub } = at.put
|
||||
// Success! we've found our private data!
|
||||
err = null
|
||||
return { pub, priv, epriv, epub }
|
||||
return { proof, pub, priv, epriv, epub }
|
||||
} catch (e) {
|
||||
err = 'Failed to decrypt private key!'
|
||||
return
|
||||
@ -552,6 +552,9 @@
|
||||
// now we have AES decrypted the private key,
|
||||
// if we were successful, then that means we're logged in!
|
||||
try {
|
||||
const { proof } = key
|
||||
delete key.proof
|
||||
|
||||
await updatestorage(proof, key, pin)(args)
|
||||
|
||||
const user = Object.assign(key, { at, proof })
|
||||
|
Loading…
x
Reference in New Issue
Block a user