0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 08:54:17 -05:00
forgejo/templates/mail
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
2019-04-04 10:52:48 +03:00
..
auth Make distinction between DisplayName and Username in email templates (#6495) 2019-04-04 10:52:48 +03:00
issue Fixed project name on repo template mail 2016-12-02 07:46:31 +01:00
notify Fixed project name on repo template mail 2016-12-02 07:46:31 +01:00