Skip to main content

totp_status

Function totp_status 

Source
pub fn totp_status(
    conn: &Connection,
    user_id: &str,
) -> Result<TotpStatus, String>
Expand description

Reports enrollment and enabled state. Never returns the secret — see TotpStatus::secret.