fix: use the more broad term recovery

This commit is contained in:
silver 2023-08-05 17:44:54 +01:00
parent d10d40522e
commit bfa88b72b7

View file

@ -212,7 +212,7 @@ fn send_mail(config: &Config, record: &Accounts, auth: &str) -> Result<Response,
let recipient = &record.user; let recipient = &record.user;
let mail = &record.mail; let mail = &record.mail;
let url_base = "https://sso.skynet.ie"; let url_base = "https://sso.skynet.ie";
let link_new = format!("{url_base}/reset_pw?auth={auth}"); let link_new = format!("{url_base}/recovery_pass?auth={auth}");
let discord = "https://discord.gg/mkuKJkCuyM"; let discord = "https://discord.gg/mkuKJkCuyM";
let sender = format!("UL Computer Society <{}>", &config.mail_user); let sender = format!("UL Computer Society <{}>", &config.mail_user);