JudahGabriel / RavenDB.Identity

RavenDB Identity provider for ASP.NET Core. Let RavenDB manage your users and logins.
https://www.nuget.org/packages/RavenDB.Identity/1.0.0
MIT License
61 stars 29 forks source link

Support RequireUniqueEmail #45

Closed TheKeyblader closed 8 months ago

TheKeyblader commented 2 years ago

Hello

Actually the UserStore will throw exception about email uniqueness even if RequireUniqueEmail is set to false.

Solutions:

  1. support the parameter
  2. Remove the code to check the email and let the default UserValidator do the job
  3. Create a new RavenDBUserValidation to replace with the default with compare/exchange.