Skip to main content

Login

Authenticates a console operator and sets the session_token httpOnly cookie used by all dashboard routes.

Request

Parameters

Responses

Behavior

  • Sets the session_token httpOnly cookie (SameSite=Strict, not readable from JavaScript).
  • Browser clients must send credentials: "include" on subsequent requests.
  • Wrong passwords are indistinguishable from unknown users — both answer 401 Invalid credentials.
  • A recovery code spent during login returns recoveryCodesLeft in the success response.
  • When 2FA is enabled and no twofa was sent, the response carries twoFactorRequired: true alongside the 401.

Rate Limits & Lockout

The per-identity lockout counts failed sign-ins against both the account identifier and the source address independently. One host spraying many accounts and many hosts hitting one account are both caught.

Errors