mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-25 03:29:40 +08:00
423a0fccb6
* 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> |
||
---|---|---|
.. | ||
api/v1 | ||
common | ||
install | ||
private | ||
utils | ||
web | ||
init.go |