mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-11-19 03:35:11 +00:00
Add missing url parameter
This commit is contained in:
parent
d086a99e5b
commit
79fdfd6524
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user