Fixed #204. Raised max password to 32 characters (#205)

This commit is contained in:
Joseph Milazzo 2021-05-09 11:26:22 -05:00 committed by GitHub
parent 8b1fbc0096
commit ecc399b32a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ namespace API.DTOs
[Required]
public string Username { get; init; }
[Required]
[StringLength(16, MinimumLength = 4)]
[StringLength(32, MinimumLength = 4)]
public string Password { get; init; }
public bool IsAdmin { get; init; }
}