mirror of
https://github.com/amark/gun.git
synced 2025-10-14 00:59:35 +00:00
Something more fixes to authrecall
This commit is contained in:
parent
c5043c92a8
commit
fa8882b66a
2
sea.js
2
sea.js
@ -528,7 +528,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
try { // auth parsing or decryption fails or returns empty - silently done
|
try { // auth parsing or decryption fails or returns empty - silently done
|
||||||
const { auth } = JSON.parse(at.put.auth)
|
const { auth } = at.put.auth
|
||||||
const sea = await seaDec(auth, proof)
|
const sea = await seaDec(auth, proof)
|
||||||
if (!sea) {
|
if (!sea) {
|
||||||
err = 'Failed to decrypt private key!'
|
err = 'Failed to decrypt private key!'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user