-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Fix database inconsistent when admin change user email #17549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix database inconsistent when admin change user email #17549
Conversation
3025b67 to
ec62efb
Compare
Codecov Report
@@ Coverage Diff @@
## main #17549 +/- ##
==========================================
- Coverage 45.56% 45.55% -0.01%
==========================================
Files 808 808
Lines 90010 90049 +39
==========================================
+ Hits 41009 41021 +12
- Misses 42453 42478 +25
- Partials 6548 6550 +2
Continue to review full report at Codecov.
|
zeripath
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This suffers from the select for update problems we have elsewhere but I guess it's the same so lgtm
d7723b6 to
4e863b1
Compare
a1a568b to
1855130
Compare
1855130 to
1c4ba86
Compare
|
|
65ddcde to
ea1cbe5
Compare
|
Please resolve conflicts |
ea1cbe5 to
c3f14b3
Compare
routers/api/v1/admin/user.go
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We assume ValidateEmail will remove all invisible characters.
c3f14b3 to
719a6f3
Compare
719a6f3 to
47c63ff
Compare
Fix #17519