1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 01:14:36 +00:00

chore(merge): Merge branch 'master' into extract-username-while-check-session

This commit is contained in:
Saad Jutt
2021-08-26 09:02:40 +05:00
13 changed files with 77 additions and 43 deletions

View File

@@ -128,7 +128,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', ''),