[fido] logout localstorage update

This commit is contained in:
nymkappa 2024-12-27 15:37:36 +08:00
parent c66f028f12
commit ff235760b2
No known key found for this signature in database
GPG key ID: 92358FC85D9645DE

View file

@ -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));
}