no space in user names, but dot, minus and underscores
This commit is contained in:
parent
a7ba1bdc41
commit
9df02b7def
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue