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.
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
5 years ago
..
setting fix bug when deleting a linked account will removed all (#5989) 5 years ago
auth.go Fix prohibit login check on authorization (#6106) 5 years ago
auth_openid.go Do not display the raw OpenID error in the UI (#5705) 6 years ago
home.go Allow to set organization visibility (public, internal, private) (#1763) 5 years ago
home_test.go hide issues from org private repos w/o team assignment (#4034) 6 years ago
main_test.go Unit tests for wiki routers (#3022) 7 years ago
notification.go Handle refactor (#3339) 7 years ago
profile.go Show email if the authenticated user owns the profile page being requested for (#4981) 5 years ago