From bcda048eab799284fc46d74706334bf9ef76dc83 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 6 Jun 2024 15:43:25 +0200 Subject: [feature] Self-serve email change for users (#2957) * [feature] Email change * frontend stuff for changing email * docs * tests etc * differentiate more clearly between local user+account and account * populate user --- web/template/email_confirm.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'web/template') diff --git a/web/template/email_confirm.tmpl b/web/template/email_confirm.tmpl index b223e9e40..167ffcdf7 100644 --- a/web/template/email_confirm.tmpl +++ b/web/template/email_confirm.tmpl @@ -18,11 +18,15 @@ */ -}} Hello {{ .Username -}}! - +{{ if .NewSignup }} You are receiving this mail because you've requested an account on {{ .InstanceURL -}}. To use your account, you must confirm that this is your email address. +{{ else }} +You are receiving this mail because you've requested an email address change on {{ .InstanceURL -}}. +To complete the change, you must confirm that this is your email address. +{{ end }} To confirm your email, paste the following in your browser's address bar: {{ .ConfirmLink }} -- cgit v1.2.3