0
tommy.reynolds@pentair.com created
I need to create multiple users with same email account, usernames will be different. how I can override or change the email already exists validation on backend.
1 Answer(s)
-
0
hi
You can override the
UserValidator<IdentityUser>
service.UserValidator<IdentityUser> : IUserValidator<IdentityUser>
https://github.com/dotnet/aspnetcore/blob/release/6.0/src/Identity/Extensions.Core/src/UserValidator.cs#L81