mirror of
https://github.com/lldap/lldap.git
synced 2026-03-31 15:07:48 +01:00
app: Remove password length validation from login form
This commit is contained in:
@@ -27,7 +27,7 @@ pub struct LoginForm {
|
|||||||
pub struct FormModel {
|
pub struct FormModel {
|
||||||
#[validate(length(min = 1, message = "Missing username"))]
|
#[validate(length(min = 1, message = "Missing username"))]
|
||||||
username: String,
|
username: String,
|
||||||
#[validate(length(min = 8, message = "Invalid password. Min length: 8"))]
|
#[validate(length(min = 1, message = "Missing password"))]
|
||||||
password: String,
|
password: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user