mirror of
https://github.com/sasjs/adapter.git
synced 2025-12-15 18:54:36 +00:00
6 lines
187 B
TypeScript
6 lines
187 B
TypeScript
export const isLogInRequired = (response: string): boolean => {
|
|
const pattern: RegExp = /<form.+action="(.*Logon[^"]*).*>/gm
|
|
const matches = pattern.test(response)
|
|
return matches
|
|
}
|