forgejo-federation/templates
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
..
admin Make allowed Visiblity modes configurable for Users (#16271) 2021-06-27 19:47:35 +01:00
base Add custom emoji support (#16004) 2021-06-29 16:28:38 +02:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Issue sidebar and misc css fixes (#15524) 2021-05-16 22:18:18 +02:00
mail Fix invalid params and typo of email templates (#16394) 2021-07-10 19:40:14 +02:00
org Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
repo Add checkbox to delete pull branch after successful merge (#16049) 2021-07-13 01:26:25 +02:00
shared Remove branch URL before IssueRefURL (#15968) 2021-05-25 16:02:37 -04:00
status Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
swagger Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
user Fix activation of primary email addresses (#16385) 2021-07-13 22:59:27 +02:00
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
install.tmpl Remove utf8 option from installation page (#16126) 2021-06-10 16:52:37 +08:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00