mirror of
https://github.com/mempool/mempool.git
synced 2025-03-17 21:32:02 +01:00
[fido] logout localstorage update
This commit is contained in:
parent
c66f028f12
commit
ff235760b2
@ -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…
x
Reference in New Issue
Block a user