Daniel García
6 years ago
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A
1 changed files with
1 additions and
1 deletions
-
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) |
|
|
|
} |
|
|
|