mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
Another bugfix for alias & PIN authrecall
This commit is contained in:
parent
d6157113ba
commit
491356382f
2
sea.js
2
sea.js
@ -513,7 +513,7 @@
|
||||
: await checkRememberData(await readAndDecrypt(await seaIndexedDb.get(alias, 'auth'), pub, pin))
|
||||
}
|
||||
// got pub, try auth with pin & alias :: or unwrap Storage data...
|
||||
const args = pin ? { pin, alias } : await readStorageData()
|
||||
const args = await readStorageData(pin && { pin, alias })
|
||||
const { proof } = args || {}
|
||||
|
||||
if (!proof) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user