Something more fixes to authrecall

This commit is contained in:
mhelander 2018-01-29 20:41:58 +02:00
parent c5043c92a8
commit fa8882b66a

2
sea.js
View File

@ -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!'