enhance: improve e-mail templates (#38396)

Co-authored-by: bircni <bircni@icloud.com>
This commit is contained in:
silverwind
2026-09-09 17:58:27 +00:00
committed by GitHub
co-authored by bircni
parent 92f2f6161b
commit 81dee529ed
43 changed files with 561 additions and 319 deletions
+4 -4
View File
@@ -17,10 +17,10 @@ import (
)
const (
mailAuthActivate templates.TplName = "user/auth/activate"
mailAuthActivateEmail templates.TplName = "user/auth/activate_email"
mailAuthResetPassword templates.TplName = "user/auth/reset_passwd"
mailAuthRegisterNotify templates.TplName = "user/auth/register_notify"
mailAuthActivate templates.TplName = "mail/user/auth/activate"
mailAuthActivateEmail templates.TplName = "mail/user/auth/activate_email"
mailAuthResetPassword templates.TplName = "mail/user/auth/reset_passwd"
mailAuthRegisterNotify templates.TplName = "mail/user/auth/register_notify"
)
// sendUserMail sends a mail to the user