From c6de871ad398a493c16ca801b9b69a53bac752b5 Mon Sep 17 00:00:00 2001 From: Paul <paulmakles@gmail.com> Date: Tue, 27 Jul 2021 17:14:36 +0100 Subject: [PATCH] Add extra snippet. --- assets/templates/reset.html | 2 +- assets/templates/verify.html | 4 ++-- set_version.sh | 2 +- src/main.rs | 4 ++-- src/version.rs | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/assets/templates/reset.html b/assets/templates/reset.html index d883f11..d59713e 100644 --- a/assets/templates/reset.html +++ b/assets/templates/reset.html @@ -32,7 +32,7 @@ <tr> <td style="color: #153643; font-family: Arial, sans-serif; font-size: 16px; line-height: 24px; padding: 20px 0 0 0;"> <p> - You requested a password reset, if you did not request this then you can safely ignore it. + You requested a password reset, if you didn't perform this action you can safely ignore this email. </p> <p style="margin: 0;"> Reset your password by navigating to <a href="{{url}}">{{url}}</a>. diff --git a/assets/templates/verify.html b/assets/templates/verify.html index 47da512..8eee0ca 100644 --- a/assets/templates/verify.html +++ b/assets/templates/verify.html @@ -26,13 +26,13 @@ <table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse;"> <tr> <td style="color: #153643; font-family: Arial, sans-serif;"> - <h1 style="font-size: 24px; margin: 0;">Verify your account!</h1> + <h1 style="font-size: 24px; margin: 0;">You're almost there!</h1> </td> </tr> <tr> <td style="color: #153643; font-family: Arial, sans-serif; font-size: 16px; line-height: 24px; padding: 20px 0 0 0;"> <p> - You're almost there! Verify your account to be able to log into the platform. + Verify your account to be able to log into the platform. If you didn't perform this action you can safely ignore this email. </p> <p style="margin: 0;"> Please verify your account by navigating to <a href="{{url}}">{{url}}</a>. diff --git a/set_version.sh b/set_version.sh index bb7c286..8caf671 100755 --- a/set_version.sh +++ b/set_version.sh @@ -1,3 +1,3 @@ #!/bin/bash -export version=0.5.1-alpha.13 +export version=0.5.1-alpha.15 echo "pub const VERSION: &str = \"${version}\";" > src/version.rs diff --git a/src/main.rs b/src/main.rs index 8f25d47..25b3a6e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -87,12 +87,12 @@ async fn launch_web() { templates: Templates { verify_email: Template { title: "Verify your Revolt account.", - text: "You're almost there! Verify your account to be able to log into the platform.\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"), }, reset_password: Template { title: "Reset your Revolt password.", - text: "You requested a password reset, if you did not request this then you can safely ignore it.\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"), }, welcome: None, diff --git a/src/version.rs b/src/version.rs index 20626f1..0bb0386 100644 --- a/src/version.rs +++ b/src/version.rs @@ -1 +1 @@ -pub const VERSION: &str = "0.5.1-alpha.13"; +pub const VERSION: &str = "0.5.1-alpha.15"; -- GitLab