From 01ceeeba8292e2723c602e606ce24e4ab90a1158 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enes=20Sad=C4=B1k=20=C3=96zbek?= Date: Fri, 27 Sep 2019 16:16:47 +0300 Subject: [PATCH] Set AllowedUserNameCharacters to null --- src/Startup.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Startup.cs b/src/Startup.cs index 9e62441..ea232cf 100644 --- a/src/Startup.cs +++ b/src/Startup.cs @@ -28,7 +28,10 @@ namespace SteamOpenIdConnectProxy services.AddDbContext(options => options.UseInMemoryDatabase("default")); - services.AddIdentity() + services.AddIdentity(options => + { + options.User.AllowedUserNameCharacters = null; + }) .AddEntityFrameworkStores() .AddDefaultTokenProviders();