no space in user names, but dot, minus and underscores
This commit is contained in:
@ -6,7 +6,7 @@ namespace Yavsc
|
|||||||
{
|
{
|
||||||
public const string ApplicationName = "Yavsc",
|
public const string ApplicationName = "Yavsc",
|
||||||
CompanyClaimType = "https://schemas.pschneider.fr/identity/claims/Company",
|
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",
|
AuthorizePath = "~/authorize",
|
||||||
TokenPath = "~/token",
|
TokenPath = "~/token",
|
||||||
LoginPath = "~/signin",
|
LoginPath = "~/signin",
|
||||||
|
Reference in New Issue
Block a user