fix: session expiry (#886)

* fix: handle session inactivity expiry

* fix: clear all cookies on session expiry and throw LoginRequiredError

* chore: add diagnostic logging to session recovery flow

* fix: re-establish session on ERR_NETWORK before retrying

* chore: remove diagnostic logging

Partially reverts 706fd8e470

* fix(deps): bump form-data
This commit is contained in:
Sead Mulahasanović
2026-06-18 13:17:28 +02:00
committed by GitHub
parent 3d99a9b1e4
commit b3921f7d05
6 changed files with 118 additions and 26 deletions
+1 -1
View File
@@ -375,7 +375,7 @@ export class AuthManager {
*
*/
public async logOut() {
this.requestClient.clearCsrfTokens()
this.requestClient.resetInMemoryAuthState()
return this.requestClient.get(this.logoutUrl, undefined).then(() => true)
}