mirror of
https://github.com/byo-software/steam-openid-connect-provider.git
synced 2025-01-10 02:16: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 =>
|
services.AddDbContext<AppInMemoryDbContext>(options =>
|
||||||
options.UseInMemoryDatabase("default"));
|
options.UseInMemoryDatabase("default"));
|
||||||
|
|
||||||
services.AddIdentity<IdentityUser, IdentityRole>()
|
services.AddIdentity<IdentityUser, IdentityRole>(options =>
|
||||||
|
{
|
||||||
|
options.User.AllowedUserNameCharacters = null;
|
||||||
|
})
|
||||||
.AddEntityFrameworkStores<AppInMemoryDbContext>()
|
.AddEntityFrameworkStores<AppInMemoryDbContext>()
|
||||||
.AddDefaultTokenProviders();
|
.AddDefaultTokenProviders();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue