X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FForm%2FType%2FChangePasswordType.php;h=82e1954d1a871906c5220ff6a5bbf39edbf01e53;hb=516022d60ea5c4e0c18a222590d23190a2c7765f;hp=8bf4ca1ef6d100924e28069644c9057207a9246c;hpb=d9085c63e35bb708f560722fff5f4f5ad322c27b;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Form/Type/ChangePasswordType.php b/src/Wallabag/CoreBundle/Form/Type/ChangePasswordType.php index 8bf4ca1e..82e1954d 100644 --- a/src/Wallabag/CoreBundle/Form/Type/ChangePasswordType.php +++ b/src/Wallabag/CoreBundle/Form/Type/ChangePasswordType.php @@ -1,9 +1,9 @@ 'password', 'invalid_message' => 'The password fields must match.', 'required' => true, - 'first_options' => array('label' => 'New password'), + 'first_options' => array('label' => 'New password'), 'second_options' => array('label' => 'Repeat new password'), 'constraints' => array( new Constraints\Length(array( - 'min' => 6, - 'minMessage' => 'Password should by at least 6 chars long' + 'min' => 8, + 'minMessage' => 'Password should by at least 8 chars long', )), - new Constraints\NotBlank() - ) + new Constraints\NotBlank(), + ), )) ->add('save', 'submit') ;