Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

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

Joseph Milazzoecc399b32a76
diff --git a/API/DTOs/RegisterDto.cs b/API/DTOs/RegisterDto.cs
index b3b43bf1a..bcc93954f 100644
--- a/API/DTOs/RegisterDto.cs
+++ b/API/DTOs/RegisterDto.cs
@@ -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; }
}