diff --git a/assets/templates/reset_plain.html b/assets/templates/reset_plain.html new file mode 100644 index 0000000000000000000000000000000000000000..3da52cec725ab08da89a9b6e32dacdb2e8e47af3 --- /dev/null +++ b/assets/templates/reset_plain.html @@ -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> \ No newline at end of file diff --git a/assets/templates/verify_plain.html b/assets/templates/verify_plain.html new file mode 100644 index 0000000000000000000000000000000000000000..3963f7c28bb0f9e1d9425cc4db57591bd1f709a6 --- /dev/null +++ b/assets/templates/verify_plain.html @@ -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> \ No newline at end of file diff --git a/set_version.sh b/set_version.sh index 0c44409934d50c3b28efd4837c3036258285d9b7..dc4440e485d99d2249090d7a07687cdd6d881d5f 100755 --- a/set_version.sh +++ b/set_version.sh @@ -1,3 +1,3 @@ #!/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 diff --git a/src/main.rs b/src/main.rs index 25b3a6e1f3486efa82cc9cd2d40fc16316598b80..0f4cb0d12743f0579789ef210df0ea446b21f001 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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, }, diff --git a/src/version.rs b/src/version.rs index ad2fd7cef4d7a9ae4dc4607830faccf4e0a969bb..dc373b58bc517f462386e0dd92d5743a572424f4 100644 --- a/src/version.rs +++ b/src/version.rs @@ -1 +1 @@ -pub const VERSION: &str = "0.5.1-alpha.17"; +pub const VERSION: &str = "0.5.1-alpha.18";