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.
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)