fix: we can have our own vanity url now

This commit is contained in:
silver 2023-08-11 01:56:27 +01:00
parent c131f82e9d
commit fb4e7449e5
3 changed files with 3 additions and 3 deletions

View file

@ -112,7 +112,7 @@ pub mod email {
let url_base = "https://account.skynet.ie"; let url_base = "https://account.skynet.ie";
let link_new = format!("{url_base}/register?auth={auth}"); let link_new = format!("{url_base}/register?auth={auth}");
let link_mod = format!("{url_base}/modify"); let link_mod = format!("{url_base}/modify");
let discord = "https://discord.gg/mkuKJkCuyM"; let discord = "https://discord.skynet.ie";
let sender = format!("UL Computer Society <{}>", &config.mail_user); let sender = format!("UL Computer Society <{}>", &config.mail_user);
// Create the html we want to send. // Create the html we want to send.

View file

@ -216,7 +216,7 @@ pub mod password {
let mail = &record.mail; let mail = &record.mail;
let url_base = "https://account.skynet.ie"; let url_base = "https://account.skynet.ie";
let link_new = format!("{url_base}/recovery_pass?auth={auth}"); let link_new = format!("{url_base}/recovery_pass?auth={auth}");
let discord = "https://discord.gg/mkuKJkCuyM"; let discord = "https://discord.skynet.ie";
let sender = format!("UL Computer Society <{}>", &config.mail_user); let sender = format!("UL Computer Society <{}>", &config.mail_user);
// Create the html we want to send. // Create the html we want to send.

View file

@ -213,7 +213,7 @@ fn send_mail(config: &Config, record: &Accounts, auth: &str) -> Result<Response,
let mail = &record.mail; let mail = &record.mail;
let url_base = "https://account.skynet.ie"; let url_base = "https://account.skynet.ie";
let link_new = format!("{url_base}/recovery_pass?auth={auth}"); let link_new = format!("{url_base}/recovery_pass?auth={auth}");
let discord = "https://discord.gg/mkuKJkCuyM"; let discord = "https://discord.skynet.ie";
let sender = format!("UL Computer Society <{}>", &config.mail_user); let sender = format!("UL Computer Society <{}>", &config.mail_user);
// Create the html we want to send. // Create the html we want to send.