From dd136858f1ea40ad3c94191d647487fa4f31926c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 18 Oct 2024 20:33:49 +0200 Subject: Adding upstream version 9.0.0. Signed-off-by: Daniel Baumann --- templates/mail/auth/2fa_disabled.tmpl | 15 +++++++++++++++ templates/mail/auth/activate.tmpl | 16 ++++++++++++++++ templates/mail/auth/activate_email.tmpl | 16 ++++++++++++++++ templates/mail/auth/password_change.tmpl | 16 ++++++++++++++++ templates/mail/auth/primary_mail_change.tmpl | 14 ++++++++++++++ templates/mail/auth/register_notify.tmpl | 17 +++++++++++++++++ templates/mail/auth/removed_security_key.tmpl | 15 +++++++++++++++ templates/mail/auth/reset_passwd.tmpl | 16 ++++++++++++++++ templates/mail/auth/totp_enrolled.tmpl | 15 +++++++++++++++ 9 files changed, 140 insertions(+) create mode 100644 templates/mail/auth/2fa_disabled.tmpl create mode 100644 templates/mail/auth/activate.tmpl create mode 100644 templates/mail/auth/activate_email.tmpl create mode 100644 templates/mail/auth/password_change.tmpl create mode 100644 templates/mail/auth/primary_mail_change.tmpl create mode 100644 templates/mail/auth/register_notify.tmpl create mode 100644 templates/mail/auth/removed_security_key.tmpl create mode 100644 templates/mail/auth/reset_passwd.tmpl create mode 100644 templates/mail/auth/totp_enrolled.tmpl (limited to 'templates/mail/auth') diff --git a/templates/mail/auth/2fa_disabled.tmpl b/templates/mail/auth/2fa_disabled.tmpl new file mode 100644 index 0000000..3f9d379 --- /dev/null +++ b/templates/mail/auth/2fa_disabled.tmpl @@ -0,0 +1,15 @@ + + + + + + +

{{.locale.Tr "mail.hi_user_x" (.DisplayName|DotEscape)}}


+

{{.locale.Tr "mail.totp_disabled.text_1"}}


+ {{if not .HasWebAuthn}}

{{.locale.Tr "mail.totp_disabled.no_2fa"}}


{{end}} +

{{.locale.Tr "mail.account_security_caution.text_1"}}


+

{{.locale.Tr "mail.account_security_caution.text_2"}}


+ + {{template "common/footer_simple" .}} + + diff --git a/templates/mail/auth/activate.tmpl b/templates/mail/auth/activate.tmpl new file mode 100644 index 0000000..eb7ea5a --- /dev/null +++ b/templates/mail/auth/activate.tmpl @@ -0,0 +1,16 @@ + + + + + + + +{{$activate_url := printf "%suser/activate?code=%s" AppUrl (QueryEscape .Code)}} + +

{{.locale.Tr "mail.activate_account.text_1" (.DisplayName|DotEscape) AppName}}


+

{{.locale.Tr "mail.activate_account.text_2" .ActiveCodeLives}}

{{$activate_url}}


+

{{.locale.Tr "mail.link_not_working_do_paste"}}

+ +

© {{AppName}}

+ + diff --git a/templates/mail/auth/activate_email.tmpl b/templates/mail/auth/activate_email.tmpl new file mode 100644 index 0000000..9ca54d3 --- /dev/null +++ b/templates/mail/auth/activate_email.tmpl @@ -0,0 +1,16 @@ + + + + + + + +{{$activate_url := printf "%suser/activate_email?code=%s&email=%s" AppUrl (QueryEscape .Code) (QueryEscape .Email)}} + +

{{.locale.Tr "mail.hi_user_x" (.DisplayName|DotEscape)}}


+

{{.locale.Tr "mail.activate_email.text" .ActiveCodeLives}}

{{$activate_url}}


+

{{.locale.Tr "mail.link_not_working_do_paste"}}

+ +

© {{AppName}}

+ + diff --git a/templates/mail/auth/password_change.tmpl b/templates/mail/auth/password_change.tmpl new file mode 100644 index 0000000..4366b8d --- /dev/null +++ b/templates/mail/auth/password_change.tmpl @@ -0,0 +1,16 @@ + + + + + + + + +

{{.locale.Tr "mail.hi_user_x" (.DisplayName|DotEscape)}}


+

{{.locale.Tr "mail.password_change.text_1"}}


+

{{.locale.Tr "mail.account_security_caution.text_1"}}


+

{{.locale.Tr "mail.account_security_caution.text_2"}}


+ + {{template "common/footer_simple" .}} + + diff --git a/templates/mail/auth/primary_mail_change.tmpl b/templates/mail/auth/primary_mail_change.tmpl new file mode 100644 index 0000000..d17be19 --- /dev/null +++ b/templates/mail/auth/primary_mail_change.tmpl @@ -0,0 +1,14 @@ + + + + + + +

{{.locale.Tr "mail.hi_user_x" (.DisplayName|DotEscape)}}


+

{{.locale.Tr "mail.primary_mail_change.text_1" .NewPrimaryMail}}


+

{{.locale.Tr "mail.account_security_caution.text_1"}}


+

{{.locale.Tr "mail.account_security_caution.text_2"}}


+ + {{template "common/footer_simple" .}} + + diff --git a/templates/mail/auth/register_notify.tmpl b/templates/mail/auth/register_notify.tmpl new file mode 100644 index 0000000..d3a668b --- /dev/null +++ b/templates/mail/auth/register_notify.tmpl @@ -0,0 +1,17 @@ + + + + + + + +{{$set_pwd_url := printf "%[1]suser/forgot_password" AppUrl}} + +

{{.locale.Tr "mail.hi_user_x" (.DisplayName|DotEscape)}}


+

{{.locale.Tr "mail.register_notify.text_1" AppName}}


+

{{.locale.Tr "mail.register_notify.text_2" .Username}}

{{AppUrl}}user/login


+

{{.locale.Tr "mail.register_notify.text_3" $set_pwd_url}}


+ +

© {{AppName}}

+ + diff --git a/templates/mail/auth/removed_security_key.tmpl b/templates/mail/auth/removed_security_key.tmpl new file mode 100644 index 0000000..18ae187 --- /dev/null +++ b/templates/mail/auth/removed_security_key.tmpl @@ -0,0 +1,15 @@ + + + + + + +

{{.locale.Tr "mail.hi_user_x" (.DisplayName|DotEscape)}}


+

{{.locale.Tr "mail.removed_security_key.text_1" .SecurityKeyName}}


+ {{if and (not .HasWebAuthn) (not .HasTOTP)}}

{{.locale.Tr "mail.removed_security_key.no_2fa"}}


{{end}} +

{{.locale.Tr "mail.account_security_caution.text_1"}}


+

{{.locale.Tr "mail.account_security_caution.text_2"}}


+ + {{template "common/footer_simple" .}} + + diff --git a/templates/mail/auth/reset_passwd.tmpl b/templates/mail/auth/reset_passwd.tmpl new file mode 100644 index 0000000..b85b770 --- /dev/null +++ b/templates/mail/auth/reset_passwd.tmpl @@ -0,0 +1,16 @@ + + + + + + + +{{$recover_url := printf "%suser/recover_account?code=%s" AppUrl (QueryEscape .Code)}} + +

{{.locale.Tr "mail.hi_user_x" (.DisplayName|DotEscape)}}


+

{{.locale.Tr "mail.reset_password.text" .ResetPwdCodeLives}}

{{$recover_url}}


+

{{.locale.Tr "mail.link_not_working_do_paste"}}

+ +

© {{AppName}}

+ + diff --git a/templates/mail/auth/totp_enrolled.tmpl b/templates/mail/auth/totp_enrolled.tmpl new file mode 100644 index 0000000..9c665e0 --- /dev/null +++ b/templates/mail/auth/totp_enrolled.tmpl @@ -0,0 +1,15 @@ + + + + + + + + +

{{.locale.Tr "mail.hi_user_x" (.DisplayName|DotEscape)}}


+ {{if .HasWebAuthn}}

{{.locale.Tr "mail.totp_enrolled.text_1.has_webauthn"}}

{{else}}

{{.locale.Tr "mail.totp_enrolled.text_1.no_webauthn"}}

{{end}}
+

{{.locale.Tr "mail.account_security_caution.text_1"}}


+

{{.locale.Tr "mail.account_security_caution.text_2"}}


+ {{template "common/footer_simple" .}} + + -- cgit v1.2.3