Closed dbischof closed 2 years ago
Fixed in #2018
@jerivas, #2018 handles multiple existing dupes but it does not handle not enforcing email uniqueness when blank.
Django allows for blank emails. The code as it stands will not allow you to add/modify a new user with a blank email if one already exists (e.g. when using usernames and not emails for logins).
Blank emails should be exempt from the uniqueness check.
Thanks for following up, I'll fix that next
:tada: This issue has been resolved in version 5.1.3 :tada:
The release is available on:
v5.1.3
Your semantic-release bot :package::rocket:
Don't enforce email uniqueness when blank (emails can be optional), and account for possibility of multiple dupes (such as when migrating from prior to enforcement of uniqueness). Fix regression in stephenmcd/mezzanine#1868