Skip to content

isLoginPage

isLoginPage(response): boolean

Defined in: packages/simply-settings-core/src/address/setupSession.ts:168

Whether a page is Salesforce’s login page rather than the Setup page that was asked for — what comes back when the session cookie is missing, expired, or was never granted.

Pick<SetupResponse, "url" | "body">

The response to check.

boolean

true for a login page.