Check for duplicated usernames and emails when Login with email option is enabled #27297
Closed
1 of 2 tasks
Labels
area/user-profile
kind/bug
Categorizes a PR related to a bug
priority/important
Must be worked on very soon
release/24.0.0
team/core-iam
Before reporting an issue
Area
user-profile
Describe the bug
Currently the user profile validators check for duplicated username and duplicated emails. But when the option
Login with email
is enabled (it's enabled by default) it can happen that the username (if it has an email format) collides with another user email. The duplicated username and duplicated email validators should also check for the other field when that option is enabled to avoid duplicates between them.Version
23.0.7
Regression
Expected behavior
Actual behavior
How to Reproduce?
login with email
enabled.username1@local.com
and emailusername1@local.org
.username2
and emailusername1@local.com
(like the first username).Anything else?
No response
The text was updated successfully, but these errors were encountered: