fix: handle bcrypt 72-byte limit and increase JWT secret length

This commit is contained in:
2026-04-09 01:11:32 -04:00
parent 0123e1c69e
commit 8c7ec2953e
25 changed files with 32 additions and 6 deletions

View File

@@ -108,12 +108,12 @@ class Token(BaseModel):
class LoginRequest(BaseModel):
username: str
password: str
password: str = Field(..., max_length=72)
class ChangePasswordRequest(BaseModel):
old_password: str
new_password: str
old_password: str = Field(..., max_length=72)
new_password: str = Field(..., max_length=72)
class LogsResponse(BaseModel):