0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-11-16 06:52:07 +01:00

Add missing url parameter

This commit is contained in:
Daniel García 2019-02-10 21:40:20 +01:00
parent d086a99e5b
commit 79fdfd6524
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A

View file

@ -66,7 +66,7 @@ pub fn send_password_hint(address: &str, hint: Option<String>) -> EmptyResult {
"email/pw_hint_none" "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) send_email(&address, &subject, &body_html, &body_text)
} }