nstall step Please enter the commit message for your changes. Lines starting
This commit is contained in:
@@ -34,8 +34,6 @@ class Admin extends BaseAdmin implements UserInterface
|
||||
|
||||
public function setPassword($password)
|
||||
{
|
||||
\Thelia\Log\Tlog::getInstance()->debug($password);
|
||||
|
||||
if ($this->isNew() && ($password === null || trim($password) == "")) {
|
||||
throw new \InvalidArgumentException("customer password is mandatory on creation");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user