[-] FO : fixed bug #PSCFV-1368 - Password is restricted to 32 characters.
This commit is contained in:
@@ -270,8 +270,6 @@ class AuthControllerCore extends FrontController
|
|||||||
$this->errors[] = Tools::displayError('Invalid e-mail address');
|
$this->errors[] = Tools::displayError('Invalid e-mail address');
|
||||||
elseif (empty($passwd))
|
elseif (empty($passwd))
|
||||||
$this->errors[] = Tools::displayError('Password is required');
|
$this->errors[] = Tools::displayError('Password is required');
|
||||||
elseif (Tools::strlen($passwd) > 32)
|
|
||||||
$this->errors[] = Tools::displayError('Password is too long');
|
|
||||||
elseif (!Validate::isPasswd($passwd))
|
elseif (!Validate::isPasswd($passwd))
|
||||||
$this->errors[] = Tools::displayError('Invalid password');
|
$this->errors[] = Tools::displayError('Invalid password');
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user