diff --git a/crates/core/database/src/drivers/mod.rs b/crates/core/database/src/drivers/mod.rs
index 6dfdd7e8..013b0846 100644
--- a/crates/core/database/src/drivers/mod.rs
+++ b/crates/core/database/src/drivers/mod.rs
@@ -141,9 +141,11 @@ impl Database {
reset_existing: Template {
title: "You already have a Revolt account, reset your password."
.into(),
- text: include_str!("../../templates/reset.txt").into(),
+ text: include_str!("../../templates/reset-existing.txt").into(),
url: format!("{}/login/reset/", config.hosts.app),
- html: Some(include_str!("../../templates/reset.html").into()),
+ html: Some(
+ include_str!("../../templates/reset-existing.html").into(),
+ ),
},
deletion: Template {
title: "Confirm account deletion.".into(),
diff --git a/crates/core/database/templates/reset-existing.html b/crates/core/database/templates/reset-existing.html
new file mode 100644
index 00000000..00ef782b
--- /dev/null
+++ b/crates/core/database/templates/reset-existing.html
@@ -0,0 +1,188 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+ Password Reset
+
+
+ You tried to create a new account with or try to re-verify this email
+ but there is already an existing verified account under this email.
+
+
+
+ If you wish, you can now proceed to reset the password on it, click
+ below to continue.
+
+
+
+ |
+
+
+
+
+
+ This email is intended for {{email}}
+ Sent from Revolt
+ Made in Europe
+
+
+
+
+
+
+ |
+
+ Revolt Platforms Ltd. is a company incorporated and registered under the
+ laws of England and Wales.
+ Registered Company Number: 16260658
+ Registered Office:
+ Suite 5703 Unit 3A, 34-35 Hatton Garden,
+ Holborn, United Kingdom, EC1N 8DX
+
+ |
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+ |
+
+
+
+
+
diff --git a/crates/core/database/templates/reset-existing.original.html b/crates/core/database/templates/reset-existing.original.html
new file mode 100644
index 00000000..1273a69c
--- /dev/null
+++ b/crates/core/database/templates/reset-existing.original.html
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+

+
+
Password Reset
+
+ You tried to create a new account with or try to re-verify this email
+ but there is already an existing verified account under this email.
+
+
+ If you wish, you can now proceed to reset the password on it, click
+ below to continue.
+
+
Reset
+
+
+ This email is intended for {{email}}
+ Sent from Revolt
+ Made in Europe
+
+
+ Revolt Platforms Ltd. is a company incorporated and registered under the
+ laws of England and Wales.
+ Registered Company Number: 16260658
+ Registered Office:
+ Suite 5703 Unit 3A, 34-35 Hatton Garden,
+ Holborn, United Kingdom, EC1N 8DX
+
+
+
+
diff --git a/crates/core/database/templates/reset-existing.txt b/crates/core/database/templates/reset-existing.txt
new file mode 100644
index 00000000..8c8fc9ed
--- /dev/null
+++ b/crates/core/database/templates/reset-existing.txt
@@ -0,0 +1,19 @@
+You tried to create a new account with or try
+to re-verify this email but there is already
+an existing verified account under this email.
+
+If you wish, you can now proceed to reset the
+password on it, click below to continue.
+
+Please navigate to: {{url}}
+
+This email is intended for {{email}}
+Sent by Revolt
+Made in Europe
+
+Revolt Platforms Ltd. is a company incorporated and registered under the laws of England and Wales.
+
+Registration Number: 16260658
+Registered Office:
+Suite 5703 Unit 3A, 34-35 Hatton Garden,
+Holborn, United Kingdom, EC1N 8DX