pub fn admin_login_page(
bad: Option<bool>,
next: Option<String>,
webauthn: &State<Option<WebauthnState>>,
) -> TemplateExpand description
The sign-in page (GET /admin/login?<bad>&<next>): a form to enter an admin token, plus a “sign
in with a passkey” affordance when passkeys are enabled. ?bad=true flags a failed previous
attempt; ?next= is the destination to return to after signing in (carried through the form).