summaryrefslogtreecommitdiff
path: root/web/template
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-06-06 15:43:25 +0200
committerLibravatar GitHub <noreply@github.com>2024-06-06 14:43:25 +0100
commitbcda048eab799284fc46d74706334bf9ef76dc83 (patch)
treec4595fe5e6e6fd570d59cee7095a336f2e884344 /web/template
parentdrop date (#2969) (diff)
downloadgotosocial-bcda048eab799284fc46d74706334bf9ef76dc83.tar.xz
[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
Diffstat (limited to 'web/template')
-rw-r--r--web/template/email_confirm.tmpl6
1 files changed, 5 insertions, 1 deletions
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 }}