diff --git a/core/lib/Thelia/Model/Customer.php b/core/lib/Thelia/Model/Customer.php index b9adade3f..5af32a1ab 100644 --- a/core/lib/Thelia/Model/Customer.php +++ b/core/lib/Thelia/Model/Customer.php @@ -105,7 +105,7 @@ class Customer extends BaseCustomer implements UserInterface $this->setAlgo("PASSWORD_BCRYPT"); return parent::setPassword(password_hash($password, PASSWORD_BCRYPT)); } - + return $this; } public function setDispatcher(EventDispatcherInterface $dispatcher)