Skip to main content

queue_verification_email

Function queue_verification_email 

Source
pub async fn queue_verification_email(
    conn: &mut PgConnection,
    user_id: Uuid,
    language: &str,
) -> Result<VerificationEmailOutcome>
Expand description

Mails a fresh verification code to the address the account holds now.

Errors when the deployment has no verify_email_address template: with the feature switched on by env var, a missing template is a misconfiguration rather than a dormant state.