Use plain reset / verify emails.

This commit is contained in:
Paul
2021-07-28 14:08:55 +01:00
parent 8f6e5be1d4
commit 3c0d736f1e
5 changed files with 33 additions and 4 deletions

View File

@@ -88,12 +88,12 @@ async fn launch_web() {
verify_email: Template {
title: "Verify your Revolt account.",
text: "You're almost there! Verify your account to be able to log into the platform. If you did not perform this action you can safely ignore this email.\nPlease verify your account here: {{url}}\n\nSent by Revolt. · Website: https://revolt.chat\nRevolt is a user-first chat platform built with modern web technologies.",
html: include_str!("../assets/templates/verify.html"),
html: include_str!("../assets/templates/verify_plain.html"),
},
reset_password: Template {
title: "Reset your Revolt password.",
text: "You requested a password reset, if you did not perform this action you can safely ignore this email.\nReset your password here: {{url}}\n\nSent by Revolt. · Website: https://revolt.chat\nRevolt is a user-first chat platform built with modern web technologies.",
html: include_str!("../assets/templates/reset.html"),
html: include_str!("../assets/templates/reset_plain.html"),
},
welcome: None,
},

View File

@@ -1 +1 @@
pub const VERSION: &str = "0.5.1-alpha.17";
pub const VERSION: &str = "0.5.1-alpha.18";