mirror of
https://github.com/sasjs/adapter.git
synced 2025-12-11 01:14:36 +00:00
fix: removing .do from loginUrl mechanism
This commit is contained in:
@@ -239,7 +239,7 @@ export class AuthManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const { result: formResponse } = await this.requestClient.get<string>(
|
const { result: formResponse } = await this.requestClient.get<string>(
|
||||||
this.loginUrl.replace('.do', ''),
|
this.loginUrl.replace('login.do', 'login'),
|
||||||
undefined,
|
undefined,
|
||||||
'text/plain'
|
'text/plain'
|
||||||
)
|
)
|
||||||
@@ -348,7 +348,7 @@ export class AuthManager {
|
|||||||
this.loginUrl =
|
this.loginUrl =
|
||||||
this.serverType === ServerType.SasViya
|
this.serverType === ServerType.SasViya
|
||||||
? tempLoginLink
|
? tempLoginLink
|
||||||
: loginUrl.replace('.do', '')
|
: loginUrl.replace('login.do', 'login')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user