diff --git a/src/Form/ChangePasswordFormType.php b/src/Form/ChangePasswordFormType.php index 419fe5e..b2c265a 100644 --- a/src/Form/ChangePasswordFormType.php +++ b/src/Form/ChangePasswordFormType.php @@ -10,6 +10,10 @@ use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Validator\Constraints\Length; use Symfony\Component\Validator\Constraints\NotBlank; +/** + * Class ChangePasswordFormType + * @package App\Form + */ class ChangePasswordFormType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options): void @@ -38,7 +42,7 @@ class ChangePasswordFormType extends AbstractType ], 'invalid_message' => 'The password fields must match.', // Instead of being set onto the object directly, - // this is read and encoded in the controller + // this is read and hashed in the controller 'mapped' => false, ]) ;