forked from ZwiiCMS-Team/ZwiiCMS
Bug connexion dans captcha
This commit is contained in:
parent
db6e2c3a97
commit
ef6928547b
@ -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';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user