0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 08:54:17 -05:00
forgejo/templates/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>
2021-07-13 22:59:27 +02:00
..
auth Add better errors for disabled account recovery (#15117) 2021-06-25 23:16:36 -05:00
dashboard Implemented head_commit for webhooks (#16282) 2021-06-29 15:34:03 +02:00
notification Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
settings Fix activation of primary email addresses (#16385) 2021-07-13 22:59:27 +02:00
heatmap.tmpl Remove fetch request from heatmap (#13623) 2020-11-18 16:00:16 -06:00
profile.tmpl Remove remaining fontawesome usage in templates (#15952) 2021-05-22 23:29:46 +02:00
project.tmpl Fix truncated organization names (#14655) 2021-02-12 03:29:07 +02:00