1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 12:59:11 -05:00
forgejo/templates/user
Lanre Adelowo 094263db4d Show email if the authenticated user owns the profile page being requested for (#4981)
* Show email if the authenticated user owns the profile page being
requested for.

Also removed `setting.UI.ShowUserEmail` as it's documentation says it
only controls the email setting on the explore page

* fix current user check... This prevents a panic as a user must be signed in before ctx.User is called

* fix panic in tests

* try to fix tests

* Update year

* Test CI fail

* Revert change

* User 3 is not allowed to authorize

* Set user2 email to be private

* Change to user4 in explore page as user2 now has private email option set
2019-02-19 09:11:50 -05:00
..
auth UX of link account (Step 1) (#5006) 2018-10-28 18:46:16 -04:00
dashboard Create repository on organisation by default on its dashboard (#6026) 2019-02-10 13:30:25 +00:00
meta #3348 always use relative avatar link in the template 2016-08-05 12:12:54 -07:00
notification Add 'mark all read' option to notifications (#3097) 2017-12-07 13:52:57 +08:00
settings Allow for user specific themes (#5668) 2019-01-09 12:22:57 -05:00
profile.tmpl Show email if the authenticated user owns the profile page being requested for (#4981) 2019-02-19 09:11:50 -05:00