We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 515bd9d commit 05364f1Copy full SHA for 05364f1
src/App/Pages/Admin/Settings/Register.cshtml.cs
@@ -13,6 +13,7 @@ public class RegisterModel : AdminPageModel
13
#region Properties
14
15
[Required]
16
+ [RegularExpression(@"^\S*$", ErrorMessage = "No white space allowed")]
17
[BindProperty]
18
public string UserName { get; set; }
19
0 commit comments