diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-12-22 13:00:37 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-01-15 09:35:38 +0100 |
commit | 5c895a7fd15822856fb407910264c5d95e1e223c (patch) | |
tree | a850ff9ccfd8067d4f8cdd341a2dda4324008afa /src/Wallabag/CoreBundle/Form/Type/NewUserType.php | |
parent | 619cc45359ead519b64129181a07e14160fbbfcb (diff) | |
download | wallabag-5c895a7fd15822856fb407910264c5d95e1e223c.tar.gz wallabag-5c895a7fd15822856fb407910264c5d95e1e223c.tar.zst wallabag-5c895a7fd15822856fb407910264c5d95e1e223c.zip |
Update bundle & stock file
- update stock file (AppKernel, app.php, etc ..) from SymfonyStandard edition)
- update bundle to latest release
- remove security on profiler
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type/NewUserType.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/NewUserType.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/NewUserType.php b/src/Wallabag/CoreBundle/Form/Type/NewUserType.php index e6fff976..ffbe9ba2 100644 --- a/src/Wallabag/CoreBundle/Form/Type/NewUserType.php +++ b/src/Wallabag/CoreBundle/Form/Type/NewUserType.php | |||
@@ -4,6 +4,7 @@ namespace Wallabag\CoreBundle\Form\Type; | |||
4 | 4 | ||
5 | use Symfony\Component\Form\AbstractType; | 5 | use Symfony\Component\Form\AbstractType; |
6 | use Symfony\Component\Form\Extension\Core\Type\EmailType; | 6 | use Symfony\Component\Form\Extension\Core\Type\EmailType; |
7 | use Symfony\Component\Form\Extension\Core\Type\PasswordType; | ||
7 | use Symfony\Component\Form\Extension\Core\Type\RepeatedType; | 8 | use Symfony\Component\Form\Extension\Core\Type\RepeatedType; |
8 | use Symfony\Component\Form\Extension\Core\Type\SubmitType; | 9 | use Symfony\Component\Form\Extension\Core\Type\SubmitType; |
9 | use Symfony\Component\Form\Extension\Core\Type\TextType; | 10 | use Symfony\Component\Form\Extension\Core\Type\TextType; |
@@ -18,7 +19,7 @@ class NewUserType extends AbstractType | |||
18 | $builder | 19 | $builder |
19 | ->add('username', TextType::class, array('required' => true)) | 20 | ->add('username', TextType::class, array('required' => true)) |
20 | ->add('plainPassword', RepeatedType::class, array( | 21 | ->add('plainPassword', RepeatedType::class, array( |
21 | 'type' => 'password', | 22 | 'type' => PasswordType::class, |
22 | 'constraints' => array( | 23 | 'constraints' => array( |
23 | new Constraints\Length(array( | 24 | new Constraints\Length(array( |
24 | 'min' => 8, | 25 | 'min' => 8, |