feat: update emails to not look garbage
This commit is contained in:
@@ -26,19 +26,19 @@ pub fn config() -> Config {
|
||||
title: "Verify your Revolt account.".into(),
|
||||
text: include_str!(crate::asset!("templates/verify.txt")).into(),
|
||||
url: format!("{}/login/verify/", *APP_URL),
|
||||
html: None,
|
||||
html: Some(include_str!(crate::asset!("templates/verify.html")).into()),
|
||||
},
|
||||
reset: Template {
|
||||
title: "Reset your Revolt password.".into(),
|
||||
text: include_str!(crate::asset!("templates/reset.txt")).into(),
|
||||
url: format!("{}/login/reset/", *APP_URL),
|
||||
html: None,
|
||||
html: Some(include_str!(crate::asset!("templates/reset.html")).into()),
|
||||
},
|
||||
deletion: Template {
|
||||
title: "Confirm account deletion.".into(),
|
||||
text: include_str!(crate::asset!("templates/deletion.txt")).into(),
|
||||
url: format!("{}/delete/", *APP_URL),
|
||||
html: None,
|
||||
html: Some(include_str!(crate::asset!("templates/deletion.html")).into()),
|
||||
},
|
||||
welcome: None,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user