aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Form
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-02-08 22:49:17 +0100
committerThomas Citharel <tcit@tcit.fr>2016-02-11 17:52:00 +0100
commit6fa4be38eb1b42a224b1649736c16b8d4b44d66a (patch)
tree60ff487a92575938c5c30f5e612430e2351c1101 /src/Wallabag/CoreBundle/Form
parentae5b37ef2e52c06182bc6edb14f6b3aae381ddb4 (diff)
downloadwallabag-6fa4be38eb1b42a224b1649736c16b8d4b44d66a.tar.gz
wallabag-6fa4be38eb1b42a224b1649736c16b8d4b44d66a.tar.zst
wallabag-6fa4be38eb1b42a224b1649736c16b8d4b44d66a.zip
fix labels on new user prompt
fix tests nl add translation validation length
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,