mirror of https://github.com/go-gitea/gitea.git
Browse Source
Fix #20390 We should use `ReplacePrimaryEmailAddress` instead of `AdminAddOrSetPrimaryEmailAddress` when modify user's email from admin panel. And also we need a database transaction to keep deletion and insertion succeed at the same time.pull/35620/merge
2 changed files with 33 additions and 32 deletions
Loading…
Reference in new issue