PASSWORD_SCHEMA: set max_length to 1024 (for tickets)

This commit is contained in:
Dietmar Maurer 2020-04-09 13:35:58 +02:00
parent 879546aff6
commit b88f9c5b1e

View File

@ -94,7 +94,7 @@ pub const PASSWORD_FORMAT: ApiStringFormat =
pub const PASSWORD_SCHEMA: Schema = StringSchema::new("Password.")
.format(&PASSWORD_FORMAT)
.min_length(1)
.max_length(64)
.max_length(1024)
.schema();
pub const PBS_PASSWORD_SCHEMA: Schema = StringSchema::new("User Password.")