Skip to main content

complete_email_verification

Function complete_email_verification 

Source
pub fn complete_email_verification(
    adapter: &dyn DatabaseOperations,
    config: &DbBackendConfig,
    schema: &AppSchema,
    token_hash: &str,
    now: &str,
) -> Result<Option<i64>, DatabaseError>
Expand description

Claims a live email token and marks its account profile verified in one transaction.