diff --git a/.changes/unreleased/Fixed-20250918-114044.yaml b/.changes/unreleased/Fixed-20250918-114044.yaml new file mode 100644 index 000000000..fe50576fe --- /dev/null +++ b/.changes/unreleased/Fixed-20250918-114044.yaml @@ -0,0 +1,6 @@ +kind: Fixed +body: Increased the number of required characters when setting a new password in Chill from 9 to 14 - GDPR compliance +time: 2025-09-18T11:40:44.858533536+02:00 +custom: + Issue: "426" + SchemaChange: No schema change diff --git a/src/Bundle/ChillMainBundle/Form/UserPasswordType.php b/src/Bundle/ChillMainBundle/Form/UserPasswordType.php index 256e68731..d3afb9250 100644 --- a/src/Bundle/ChillMainBundle/Form/UserPasswordType.php +++ b/src/Bundle/ChillMainBundle/Form/UserPasswordType.php @@ -59,7 +59,7 @@ class UserPasswordType extends AbstractType 'invalid_message' => 'The password fields must match', 'constraints' => [ new Length([ - 'min' => 9, + 'min' => 14, 'minMessage' => 'The password must be greater than {{ limit }} characters', ]), new NotBlank(),