diff --git a/TASVideos/Extensions/ServiceCollectionExtensions.cs b/TASVideos/Extensions/ServiceCollectionExtensions.cs index 51dc20016..3ea9d789e 100644 --- a/TASVideos/Extensions/ServiceCollectionExtensions.cs +++ b/TASVideos/Extensions/ServiceCollectionExtensions.cs @@ -137,7 +137,7 @@ public static IServiceCollection AddIdentity(this IServiceCollection services, I config.Password.RequireLowercase = false; config.Password.RequireNonAlphanumeric = false; config.Password.RequiredUniqueChars = 4; - config.User.RequireUniqueEmail = true; + config.User.RequireUniqueEmail = env.IsProduction() || env.IsStaging(); config.User.AllowedUserNameCharacters += "āàâãáäéèëêíîïóôöúüûý£ʼnçÑñ"; }) .AddEntityFrameworkStores()