gitea/models/user
JakobDev ea385f5d39
Fix API leaking Usermail if not logged in (#25097)
The API should only return the real Mail of a User, if the caller is
logged in. The check do to this don't work. This PR fixes this. This not
really a security issue, but can lead to Spam.

---------

Co-authored-by: silverwind <me@silverwind.io>
2023-07-31 01:18:38 +00:00
..
avatar.go
badge.go
email_address.go
email_address_test.go
error.go
external_login_user.go
follow.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
follow_test.go
list.go
main_test.go
must_change_password.go
openid.go
openid_test.go
redirect.go
redirect_test.go
search.go
setting.go Add Debian package registry (#24426) 2023-05-02 12:31:35 -04:00
setting_keys.go
setting_test.go
user.go
user_system.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
user_test.go
user_update.go