Fix authentication typo

This commit is contained in:
emad-salah 2021-11-29 14:21:31 +01:00
parent 3d377e6c69
commit 2b2dba6073
2 changed files with 2 additions and 2 deletions

View file

@ -260,7 +260,6 @@ const API = require('../contact-api/index')
const gun = Gun({
axe: false,
multicast: false,
peers: Config.PEERS
})
@ -482,5 +481,6 @@ module.exports = {
getUser,
mySEA,
getMySecret,
logoff,
$$__SHOCKWALLET__ENCRYPTED__
}

View file

@ -519,7 +519,7 @@ module.exports = async (
await recreateLnServices()
if (GunDB.isAuthenticated()) {
GunDB.instantiateGun()
GunDB.logoff()
}
const publicKey = await GunDB.authenticate(alias, password)