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/routers/web/user
Meano 423a0fccb6
Fix activation of primary email addresses (#16385)
* fix: primary email cannot be activated

* Primary email should be activated together with user account when
'RegisterEmailConfirm' is enabled.

* To fix the existing error state. When 'RegisterEmailConfirm' is enabled, the
admin should have permission to modify the activations status of user email.
And the user should be allowed to send activation to primary email.

* Only judge whether email is primary from email_address table.

* Improve logging and refactor isEmailActive

Co-authored-by: zeripath <art27@cantab.net>
4 years ago
..
setting Fix activation of primary email addresses (#16385) 4 years ago
auth.go Fix activation of primary email addresses (#16385) 4 years ago
auth_openid.go Refactor routers directory (#15800) 4 years ago
avatar.go Refactor routers directory (#15800) 4 years ago
home.go Improve performance of dashboard list orgs (#16099) 4 years ago
home_test.go Refactor routers directory (#15800) 4 years ago
main_test.go Refactor routers directory (#15800) 4 years ago
notification.go Refactor routers directory (#15800) 4 years ago
oauth.go Add asymmetric JWT signing (#16010) 4 years ago
profile.go Add Visible modes function from Organisation to Users too (#16069) 4 years ago
task.go Add Status Updates whilst Gitea migrations are occurring (#15076) 4 years ago