mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 14:40:38 +01:00
[fido] logout localstorage update
This commit is contained in:
parent
c66f028f12
commit
ff235760b2
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ export class AuthServiceMempool {
|
||||||
setAuth(auth: any) {
|
setAuth(auth: any) {
|
||||||
if (!auth) {
|
if (!auth) {
|
||||||
localStorage.removeItem('auth');
|
localStorage.removeItem('auth');
|
||||||
|
localStorage.removeItem('authenticatorStatus');
|
||||||
} else {
|
} else {
|
||||||
localStorage.setItem('auth', JSON.stringify(auth));
|
localStorage.setItem('auth', JSON.stringify(auth));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue