mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 06:35:15 +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) {
|
||||
if (!auth) {
|
||||
localStorage.removeItem('auth');
|
||||
localStorage.removeItem('authenticatorStatus');
|
||||
} else {
|
||||
localStorage.setItem('auth', JSON.stringify(auth));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue