X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FForm%2FType%2FNewUserType.php;fp=src%2FWallabag%2FCoreBundle%2FForm%2FType%2FNewUserType.php;h=ea7bb7aef5ded43b76c4329f7fabd2874ed9c5a2;hb=fcb1fba5c2fdb12c9f4041bd334aaced6f302d91;hp=985cb55b229a4a35dd6b3cfa8739ae8731048487;hpb=8a60bc4cc2b6b1cfb5d8beb7ddcafc51d89a64c9;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Form/Type/NewUserType.php b/src/Wallabag/CoreBundle/Form/Type/NewUserType.php index 985cb55b..ea7bb7ae 100644 --- a/src/Wallabag/CoreBundle/Form/Type/NewUserType.php +++ b/src/Wallabag/CoreBundle/Form/Type/NewUserType.php @@ -13,7 +13,8 @@ class NewUserType extends AbstractType { $builder ->add('username', 'text', array('required' => true)) - ->add('password', 'password', array( + ->add('plainPassword', 'repeated', array( + 'type' => 'password', 'constraints' => array( new Constraints\Length(array( 'min' => 8,