mirror of
https://github.com/byo-software/steam-openid-connect-provider.git
synced 2025-01-09 18:06:22 +00:00
Set AllowedUserNameCharacters to null
This commit is contained in:
parent
ea4e2ad3a6
commit
01ceeeba82
1 changed files with 4 additions and 1 deletions
|
@ -28,7 +28,10 @@ namespace SteamOpenIdConnectProxy
|
|||
services.AddDbContext<AppInMemoryDbContext>(options =>
|
||||
options.UseInMemoryDatabase("default"));
|
||||
|
||||
services.AddIdentity<IdentityUser, IdentityRole>()
|
||||
services.AddIdentity<IdentityUser, IdentityRole>(options =>
|
||||
{
|
||||
options.User.AllowedUserNameCharacters = null;
|
||||
})
|
||||
.AddEntityFrameworkStores<AppInMemoryDbContext>()
|
||||
.AddDefaultTokenProviders();
|
||||
|
||||
|
|
Loading…
Reference in a new issue