forked from jmug/stoatchat
Use plain reset / verify emails.
This commit is contained in:
14
assets/templates/reset_plain.html
Normal file
14
assets/templates/reset_plain.html
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<h2>Reset your password.</h2>
|
||||||
|
<p>
|
||||||
|
You requested a password reset, if you did not perform this action you can safely ignore this email.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Reset your password here: <a href="{{url}}">{{url}}</a>
|
||||||
|
</p>
|
||||||
|
<br/>
|
||||||
|
<p>
|
||||||
|
Sent by Revolt. · Website: <a href="https://revolt.chat">https://revolt.chat</a>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Revolt is a user-first chat platform built with modern web technologies.
|
||||||
|
</p>
|
||||||
15
assets/templates/verify_plain.html
Normal file
15
assets/templates/verify_plain.html
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<h2>You're almost there!</h2>
|
||||||
|
<p>
|
||||||
|
Verify your account to be able to log into the platform.<br/>
|
||||||
|
If you did not perform this action you can safely ignore this email.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Please verify your account here: <a href="{{url}}">{{url}}</a>
|
||||||
|
</p>
|
||||||
|
<br/>
|
||||||
|
<p>
|
||||||
|
Sent by Revolt. · Website: <a href="https://revolt.chat">https://revolt.chat</a>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Revolt is a user-first chat platform built with modern web technologies.
|
||||||
|
</p>
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
export version=0.5.1-alpha.17
|
export version=0.5.1-alpha.18
|
||||||
echo "pub const VERSION: &str = \"${version}\";" > src/version.rs
|
echo "pub const VERSION: &str = \"${version}\";" > src/version.rs
|
||||||
|
|||||||
@@ -88,12 +88,12 @@ async fn launch_web() {
|
|||||||
verify_email: Template {
|
verify_email: Template {
|
||||||
title: "Verify your Revolt account.",
|
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.",
|
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 {
|
reset_password: Template {
|
||||||
title: "Reset your Revolt password.",
|
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.",
|
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,
|
welcome: None,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
pub const VERSION: &str = "0.5.1-alpha.17";
|
pub const VERSION: &str = "0.5.1-alpha.18";
|
||||||
|
|||||||
Reference in New Issue
Block a user