You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mrsdizzie 04003d9dc7 Make distinction between DisplayName and Username in email templates (#6495)
* Make distinction between DisplayName and Username in email templates

Store the actual username in the variable named Username and store the
separate DisplayName in another variable. This allows us to access the
actual username when we need, which currently fails if a user has set a
full name.

Fixes #6161

* Use u.Name directly

No need for extra function, also change use in all mail sending
functions here

* Don't include Username when not used
5 years ago
..
activate.tmpl Make distinction between DisplayName and Username in email templates (#6495) 5 years ago
activate_email.tmpl Make distinction between DisplayName and Username in email templates (#6495) 5 years ago
register_notify.tmpl Make distinction between DisplayName and Username in email templates (#6495) 5 years ago
reset_passwd.tmpl Make distinction between DisplayName and Username in email templates (#6495) 5 years ago