mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-18 11:59:27 +00: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> |
||
---|---|---|
.. | ||
account.tmpl | ||
applications.tmpl | ||
applications_oauth2.tmpl | ||
applications_oauth2_edit.tmpl | ||
grants_oauth2.tmpl | ||
keys.tmpl | ||
keys_gpg.tmpl | ||
keys_principal.tmpl | ||
keys_ssh.tmpl | ||
navbar.tmpl | ||
organization.tmpl | ||
profile.tmpl | ||
repos.tmpl | ||
security.tmpl | ||
security_accountlinks.tmpl | ||
security_openid.tmpl | ||
security_twofa.tmpl | ||
security_u2f.tmpl | ||
twofa_enroll.tmpl |