diff --git a/core/module/user/user.php b/core/module/user/user.php index f26a61e9..279c23ba 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -336,8 +336,9 @@ class user extends common { if($this->isPost()) { // Check la captcha if( + $this->getData(['config','connect','captcha']) //$this->getInput('userLoginCaptcha', helper::FILTER_INT) !== $this->getInput('userLoginCaptchaFirstNumber', helper::FILTER_INT) + $this->getInput('userLoginCaptchaSecondNumber', helper::FILTER_INT)) - password_verify($this->getInput('userLoginCaptcha', helper::FILTER_INT), $this->getInput('userLoginCaptchaResult') ) === false ) + AND password_verify($this->getInput('userLoginCaptcha', helper::FILTER_INT), $this->getInput('userLoginCaptchaResult') ) === false ) { self::$inputNotices['userLoginCaptcha'] = 'Incorrect'; }