diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-02-11 18:19:35 +0100 |
---|---|---|
committer | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-02-11 18:19:35 +0100 |
commit | 7a97c7d06fa96a4f2d8bb17817dc15b091698e80 (patch) | |
tree | 6dcb415323da8d715c50a34eee2b33e2dc885234 /src/Wallabag/CoreBundle/Form/Type/NewUserType.php | |
parent | 06c190887fd38c314db8d240ab2e46f5777ed59e (diff) | |
parent | 6fa4be38eb1b42a224b1649736c16b8d4b44d66a (diff) | |
download | wallabag-7a97c7d06fa96a4f2d8bb17817dc15b091698e80.tar.gz wallabag-7a97c7d06fa96a4f2d8bb17817dc15b091698e80.tar.zst wallabag-7a97c7d06fa96a4f2d8bb17817dc15b091698e80.zip |
Merge pull request #1656 from wallabag/v2-fix-new-user-password-prompts
fix labels on new user prompt
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type/NewUserType.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/NewUserType.php | 3 |
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, |