Fix authentication typo
This commit is contained in:
parent
3d377e6c69
commit
2b2dba6073
2 changed files with 2 additions and 2 deletions
|
|
@ -260,7 +260,6 @@ const API = require('../contact-api/index')
|
||||||
|
|
||||||
const gun = Gun({
|
const gun = Gun({
|
||||||
axe: false,
|
axe: false,
|
||||||
multicast: false,
|
|
||||||
peers: Config.PEERS
|
peers: Config.PEERS
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
@ -482,5 +481,6 @@ module.exports = {
|
||||||
getUser,
|
getUser,
|
||||||
mySEA,
|
mySEA,
|
||||||
getMySecret,
|
getMySecret,
|
||||||
|
logoff,
|
||||||
$$__SHOCKWALLET__ENCRYPTED__
|
$$__SHOCKWALLET__ENCRYPTED__
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -519,7 +519,7 @@ module.exports = async (
|
||||||
await recreateLnServices()
|
await recreateLnServices()
|
||||||
|
|
||||||
if (GunDB.isAuthenticated()) {
|
if (GunDB.isAuthenticated()) {
|
||||||
GunDB.instantiateGun()
|
GunDB.logoff()
|
||||||
}
|
}
|
||||||
|
|
||||||
const publicKey = await GunDB.authenticate(alias, password)
|
const publicKey = await GunDB.authenticate(alias, password)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue