@orangecheck/auth-client / isSudoAccountMismatch
Function: isSudoAccountMismatch()
function isSudoAccountMismatch(body:
| {
reason?: string;
}
| null
| undefined): boolean;
Defined in: sudo.tsx:101
True when the response says a sudo ceremony cannot resolve this request. Pairs with handleSudoRequired: try the redirect first, then this.
Parameters
| Parameter | Type |
|---|---|
body | | { reason?: string; } | null | undefined |
Returns
boolean