mas_templates::check

Function render_email_recovery_txt

source
pub fn render_email_recovery_txt(
    templates: &Templates,
    now: DateTime<Utc>,
    rng: &mut impl Rng,
) -> Result<()>
Expand description

Render the emails/recovery.txt template with sample contexts

ยงErrors

Returns an error if the template fails to render with any of the sample.