mirror of
https://github.com/sasjs/adapter.git
synced 2026-07-24 15:12:15 +00:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user