hotfix: prevent session from expiring

This commit is contained in:
sua yoo 2021-12-03 17:40:03 -08:00
parent 11b797d535
commit 1d114c682e
No known key found for this signature in database
GPG Key ID: 5AD1B4C02D4F0567

View File

@ -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() {