aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Form/Type/ChangePasswordType.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type/ChangePasswordType.php')
-rw-r--r--src/Wallabag/CoreBundle/Form/Type/ChangePasswordType.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/ChangePasswordType.php b/src/Wallabag/CoreBundle/Form/Type/ChangePasswordType.php
index 615b8169..7d05a5d8 100644
--- a/src/Wallabag/CoreBundle/Form/Type/ChangePasswordType.php
+++ b/src/Wallabag/CoreBundle/Form/Type/ChangePasswordType.php
@@ -19,7 +19,7 @@ class ChangePasswordType extends AbstractType
19 'constraints' => new UserPassword(array('message' => 'Wrong value for your current password')), 19 'constraints' => new UserPassword(array('message' => 'Wrong value for your current password')),
20 )) 20 ))
21 ->add('new_password', RepeatedType::class, array( 21 ->add('new_password', RepeatedType::class, array(
22 'type' => 'password', 22 'type' => PasswordType::class,
23 'invalid_message' => 'The password fields must match.', 23 'invalid_message' => 'The password fields must match.',
24 'required' => true, 24 'required' => true,
25 'first_options' => array('label' => 'New password'), 25 'first_options' => array('label' => 'New password'),