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

fix: web request and login

This commit is contained in:
2021-08-18 11:42:34 +02:00
parent dd2b3671fd
commit cd67fb38dc
2 changed files with 13 additions and 13 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', ''),