1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-06 20:10:05 +00:00

fix: login issues

This commit is contained in:
2021-07-29 14:27:17 +02:00
parent b217499b59
commit 0bf385d1e0
2 changed files with 3 additions and 2 deletions

View File

@@ -124,7 +124,8 @@ export class AuthManager {
if (!isLoggedIn) {
//We will logout to make sure cookies are removed and login form is presented
this.logOut()
//Residue can happen in case of session expiration
await this.logOut()
const { result: formResponse } = await this.requestClient.get<string>(
this.loginUrl.replace('.do', ''),