forgejo-federation/templates/user/settings
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
..
account.tmpl Fix activation of primary email addresses (#16385) 2021-07-13 22:59:27 +02:00
applications.tmpl Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
applications_oauth2.tmpl Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
applications_oauth2_edit.tmpl Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
grants_oauth2.tmpl Various UI fixes (#14239) 2021-01-04 13:18:12 +01:00
keys.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
keys_gpg.tmpl Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
keys_principal.tmpl Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
keys_ssh.tmpl Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
navbar.tmpl CSS navbar and color tweaks (#13609) 2020-11-26 19:33:28 +00:00
organization.tmpl Unified link creation. (#15619) 2021-04-30 19:25:13 +02:00
profile.tmpl Make allowed Visiblity modes configurable for Users (#16271) 2021-06-27 19:47:35 +01:00
repos.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
security.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
security_accountlinks.tmpl Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
security_openid.tmpl Remove remaining fontawesome usage in templates (#15952) 2021-05-22 23:29:46 +02:00
security_twofa.tmpl Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
security_u2f.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
twofa_enroll.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00