Skip to main content

passkeys_page

Function passkeys_page 

Source
pub fn passkeys_page(
    session: Option<AdminSession>,
    return_to: ReturnTo,
    webauthn: &State<Option<WebauthnState>>,
    pool: &State<DbPool>,
) -> Result<Template, AdminReject>
Expand description

The “Your passkeys” management screen (GET /admin/passkeys): the signed-in admin’s enrolled passkeys, with enroll + remove actions. Signed-in admins only (unauthenticated → sign-in page).