gitea/routers/api
Giteabot 52902d4ece
Fix edit user email bug in API (#36068) (#36081)
Backport #36068 by @lunny

Follow #36058 for API edit user bug when editing email.

- The Admin Edit User API includes a breaking change. Previously, when
updating a user with an email from an unallowed domain, the request
would succeed but return a warning in the response headers. Now, the
request will fail and return an error in the response body instead.
- Removed `AdminAddOrSetPrimaryEmailAddress` because it will not be used
any where.

Fix https://github.com/go-gitea/gitea/pull/36058#issuecomment-3600005186

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2025-12-04 18:25:52 +00:00
..
actions Fix various typos in codebase (#35480) 2025-09-13 10:34:43 -04:00
packages Fix container registry error handling (#36021) (#36037) 2025-11-26 08:01:35 -08:00
v1 Fix edit user email bug in API (#36068) (#36081) 2025-12-04 18:25:52 +00:00