mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-13 23:20:05 +00:00
feat(*): recreate package with new name
This commit is contained in:
3
src/utils/isAuthorizeFormRequired.ts
Normal file
3
src/utils/isAuthorizeFormRequired.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export const isAuthorizeFormRequired = (response: string): boolean => {
|
||||
return /<form.+action="(.*Logon\/oauth\/authorize[^"]*).*>/gm.test(response);
|
||||
};
|
||||
Reference in New Issue
Block a user