docs: configure reset existing email template

This commit is contained in:
izzy
2025-05-10 16:36:41 +01:00
parent 3a7ebad883
commit 2061794305
4 changed files with 252 additions and 2 deletions

View File

@@ -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(),