hotfix: prevent session from expiring
This commit is contained in:
parent
11b797d535
commit
1d114c682e
@ -135,7 +135,10 @@ export default class AuthService {
|
|||||||
sessionExpiresAt: Date.now() + SESSION_LIFETIME,
|
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() {
|
private async checkFreshness() {
|
||||||
|
Loading…
Reference in New Issue
Block a user