PASSWORD_SCHEMA: set max_length to 1024 (for tickets)
This commit is contained in:
parent
879546aff6
commit
b88f9c5b1e
@ -94,7 +94,7 @@ pub const PASSWORD_FORMAT: ApiStringFormat =
|
|||||||
pub const PASSWORD_SCHEMA: Schema = StringSchema::new("Password.")
|
pub const PASSWORD_SCHEMA: Schema = StringSchema::new("Password.")
|
||||||
.format(&PASSWORD_FORMAT)
|
.format(&PASSWORD_FORMAT)
|
||||||
.min_length(1)
|
.min_length(1)
|
||||||
.max_length(64)
|
.max_length(1024)
|
||||||
.schema();
|
.schema();
|
||||||
|
|
||||||
pub const PBS_PASSWORD_SCHEMA: Schema = StringSchema::new("User Password.")
|
pub const PBS_PASSWORD_SCHEMA: Schema = StringSchema::new("User Password.")
|
||||||
|
Loading…
Reference in New Issue
Block a user