no space in user names, but dot, minus and underscores

This commit is contained in:
2018-07-30 09:43:22 +02:00
parent f92adfbccb
commit 59622ce625

View File

@ -6,7 +6,7 @@ namespace Yavsc
{
public const string ApplicationName = "Yavsc",
CompanyClaimType = "https://schemas.pschneider.fr/identity/claims/Company",
UserNameRegExp = @"^[a-zA-Z][a-zA-Z0-9 ]*$",
UserNameRegExp = @"^[a-zA-Z][a-zA-Z0-9._-]*$",
AuthorizePath = "~/authorize",
TokenPath = "~/token",
LoginPath = "~/signin",