aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Form
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Form')
-rw-r--r--src/Wallabag/CoreBundle/Form/Type/NewUserType.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/NewUserType.php b/src/Wallabag/CoreBundle/Form/Type/NewUserType.php
index ffbe9ba2..d8bde17e 100644
--- a/src/Wallabag/CoreBundle/Form/Type/NewUserType.php
+++ b/src/Wallabag/CoreBundle/Form/Type/NewUserType.php
@@ -20,6 +20,9 @@ class NewUserType extends AbstractType
20 ->add('username', TextType::class, array('required' => true)) 20 ->add('username', TextType::class, array('required' => true))
21 ->add('plainPassword', RepeatedType::class, array( 21 ->add('plainPassword', RepeatedType::class, array(
22 'type' => PasswordType::class, 22 'type' => PasswordType::class,
23 'invalid_message' => 'The password fields must match',
24 'first_options' => array('label' => 'Password'),
25 'second_options' => array('label' => 'Repeat new password'),
23 'constraints' => array( 26 'constraints' => array(
24 new Constraints\Length(array( 27 new Constraints\Length(array(
25 'min' => 8, 28 'min' => 8,