app: Remove password length validation from login form

This commit is contained in:
Copilot
2026-01-06 23:37:01 +01:00
committed by GitHub
parent 62ae1d73fa
commit ac55dfedc4
+1 -1
View File
@@ -27,7 +27,7 @@ pub struct LoginForm {
pub struct FormModel {
#[validate(length(min = 1, message = "Missing username"))]
username: String,
#[validate(length(min = 8, message = "Invalid password. Min length: 8"))]
#[validate(length(min = 1, message = "Missing password"))]
password: String,
}