mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-22 03:43:06 +00:00
Fix formatting and add vault link to notification emails
This commit is contained in:
parent
cec28a85ac
commit
2f5bdc23f6
1 changed files with 8 additions and 8 deletions
|
@ -89,8 +89,8 @@ pub fn send_invite_accepted(
|
|||
("Invitation accepted",
|
||||
format!(
|
||||
"<html>
|
||||
<p>Your invitation to <b>{}</b> to join <b>{}</b> was accepted. Please log in to the bitwarden_rs server and confirm them from the organization management page.</p>
|
||||
</html>", new_user_email, org_name))
|
||||
<p>Your invitation for <b>{}</b> to join <b>{}</b> was accepted. Please <a href=\"{}\">log in</a> to the bitwarden_rs server and confirm them from the organization management page.</p>
|
||||
</html>", new_user_email, org_name, CONFIG.domain))
|
||||
};
|
||||
|
||||
send_email(&address, &subject, &body, &config)
|
||||
|
@ -105,8 +105,8 @@ pub fn send_invite_confirmed(
|
|||
(format!("Invitation to {} confirmed", org_name),
|
||||
format!(
|
||||
"<html>
|
||||
<p>Your invitation to join <b>{}</b> was accepted. It will now appear under the Organizations the next time you log into the web vault.</p>
|
||||
</html>", org_name))
|
||||
<p>Your invitation to join <b>{}</b> was confirmed. It will now appear under the Organizations the next time you <a href=\"{}\">log in</a> to the web vault.</p>
|
||||
</html>", org_name, CONFIG.domain))
|
||||
};
|
||||
|
||||
send_email(&address, &subject, &body, &config)
|
||||
|
|
Loading…
Reference in a new issue