diff --git a/frontend/src/utils/AuthService.ts b/frontend/src/utils/AuthService.ts index cf6d545f..c479ed31 100644 --- a/frontend/src/utils/AuthService.ts +++ b/frontend/src/utils/AuthService.ts @@ -135,7 +135,10 @@ export default class AuthService { sessionExpiresAt: Date.now() + SESSION_LIFETIME, }; - window.localStorage.setItem(AuthService.storageKey, JSON.stringify(auth)); + window.localStorage.setItem( + AuthService.storageKey, + JSON.stringify(this._authState) + ); } private async checkFreshness() {