oc · docs
docs / documentation

@orangecheck/auth-client


@orangecheck/auth-client / SUDO_ACCOUNT_MISMATCH_MESSAGE

Variable: SUDO_ACCOUNT_MISMATCH_MESSAGE

const SUDO_ACCOUNT_MISMATCH_MESSAGE: "Switch this tab to that account first — the confirmation on file is for a different one." = 'Switch this tab to that account first — the confirmation on file is for a different one.';

Defined in: sudo.tsx:94

The message for sudo_account_mismatch — a fresh sudo proof exists, but for a different account than this tab is acting as.

Deliberately NOT a redirect. The ceremony runs on ochk.io for the cookie's default account and cannot reach this tab's pinned account, so bouncing there re-proves the wrong one forever. Callers must show this and stop.