Skip to main content

handle_mfa_verify

Function handle_mfa_verify 

Source
pub async fn handle_mfa_verify(
    ctx: &ReqCtx,
    code: &str,
    csrf: Option<&str>,
) -> ApiResponse
Expand description

Verify a TOTP or one-time backup code and, on success, upgrade the session.