From b88f9c5b1e802d93b0d39b519516c128ff00cb8f Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 9 Apr 2020 13:35:58 +0200 Subject: [PATCH] PASSWORD_SCHEMA: set max_length to 1024 (for tickets) --- src/api2/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api2/types.rs b/src/api2/types.rs index 12ee8c1c..23770928 100644 --- a/src/api2/types.rs +++ b/src/api2/types.rs @@ -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.")