From 79fdfd6524e929efd8709f5a096afaa385ec3972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa?= Date: Sun, 10 Feb 2019 21:40:20 +0100 Subject: [PATCH] Add missing url parameter --- src/mail.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mail.rs b/src/mail.rs index fb4cb9c4..731f7bb4 100644 --- a/src/mail.rs +++ b/src/mail.rs @@ -66,7 +66,7 @@ pub fn send_password_hint(address: &str, hint: Option) -> EmptyResult { "email/pw_hint_none" }; - let (subject, body_html, body_text) = get_text(template_name, json!({ "hint": hint }))?; + let (subject, body_html, body_text) = get_text(template_name, json!({ "hint": hint, "url": CONFIG.domain() }))?; send_email(&address, &subject, &body_html, &body_text) }