diff --git a/JetHerald/Controllers/Ui/RegistrationController.cs b/JetHerald/Controllers/Ui/RegistrationController.cs index f5be007..b571403 100644 --- a/JetHerald/Controllers/Ui/RegistrationController.cs +++ b/JetHerald/Controllers/Ui/RegistrationController.cs @@ -53,7 +53,7 @@ public class RegistrationController : Controller public string Name { get; set; } [BindProperty(Name = "login"), BindRequired] - [StringLength(maximumLength: 64, MinimumLength = 6)] + [StringLength(maximumLength: 64, MinimumLength = 3)] public string Login { get; set; } [BindProperty(Name = "password"), BindRequired] diff --git a/JetHerald/Views/Registration/Register.cshtml b/JetHerald/Views/Registration/Register.cshtml index 2395862..6baaea2 100644 --- a/JetHerald/Views/Registration/Register.cshtml +++ b/JetHerald/Views/Registration/Register.cshtml @@ -13,7 +13,7 @@
- +
Used for display.