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.
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>
2 years ago
..
avatar.go Avoid warning for system setting when start up (#23054) 2 years ago
badge.go Remove most path-based golangci exclusions (#24214) 2 years ago
email_address.go
email_address_test.go
error.go Refactor rename user and rename organization (#24052) 2 years ago
external_login_user.go Replace `interface{}` with `any` (#25686) 2 years ago
follow.go
follow_test.go
list.go
main_test.go
must_change_password.go
openid.go
openid_test.go
redirect.go Fix bug when change user name (#25637) 2 years ago
redirect_test.go
search.go Add login name and source id for admin user searching API (#23376) 2 years ago
setting.go Add Debian package registry (#24426) 2 years ago
setting_keys.go Show outdated comments in files changed tab (#24936) 2 years ago
setting_test.go
user.go Fix API leaking Usermail if not logged in (#25097) 2 years ago
user_system.go
user_test.go Only validate changed columns when update user (#24867) 2 years ago
user_update.go