From 41e241296e6a6c0dcdf6b14120ab416dabc29452 Mon Sep 17 00:00:00 2001 From: JiaJia Ji Date: Fri, 21 Apr 2023 10:55:48 +0200 Subject: [PATCH] [Bug]: Remove unrelated merge change about $hidePassword (#476) --- src/Controller/AccountController.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Controller/AccountController.php b/src/Controller/AccountController.php index ea4c771f..bd4d4313 100644 --- a/src/Controller/AccountController.php +++ b/src/Controller/AccountController.php @@ -152,10 +152,6 @@ public function registerAction( $customer->setActive(true); try { - if(!$hidePassword) { - $this->checkPassword($form->getData()['password']); - } - $customer->save(); if ($form->getData()['newsletter']) {