From 84a29f4ae6e0494af25a8bde3c9b03a1684511bc Mon Sep 17 00:00:00 2001
From: tracer <tracer@24unix.net>
Date: Sun, 13 Jun 2021 16:18:19 +0200
Subject: [PATCH] removed encoder, set hasher

---
 src/Form/ChangePasswordFormType.php | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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,
             ])
         ;