diff --git a/Govor.Contracts/Requests/RegistrationRequest.cs b/Govor.Contracts/Requests/RegistrationRequest.cs index 9a85a0d..7189bc8 100644 --- a/Govor.Contracts/Requests/RegistrationRequest.cs +++ b/Govor.Contracts/Requests/RegistrationRequest.cs @@ -8,11 +8,11 @@ public record RegistrationRequest [Required] [StringLength(UserValidator.MAX_LENGHT_OF_NAME, MinimumLength = UserValidator.MIN_LENGHT_OF_NAME, - ErrorMessage = "Username must be between 4 and 50 characters.")] + ErrorMessage = "Username must be between 4 and 44 characters.")] public string Name { get; init; } [Required] [MinLength(8)] public string Password { get; init; } [MinLength(InvitationValidator.MIN_INVITATION_LENGTH)] public string InviteLink { get; init; } -} \ No newline at end of file +}