commit 79fdfd6524e929efd8709f5a096afaa385ec3972
parent d086a99e5bf6cb4f3c27f82904c5619f8325d53b
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Sun, 10 Feb 2019 21:40:20 +0100
Add missing url parameter
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mail.rs b/src/mail.rs
@@ -66,7 +66,7 @@ pub fn send_password_hint(address: &str, hint: Option<String>) -> 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)
}