mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 13:30:25 +02:00
Merge branch 'ticket/bantu/9829' into develop-olympus
* ticket/bantu/9829: [ticket/9829] Fix error in recaptcha validation.
This commit is contained in:
@@ -313,13 +313,10 @@ class phpbb_recaptcha extends phpbb_default_captcha
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
|
||||||
if ($answers[1] === 'incorrect-captcha-sol')
|
|
||||||
{
|
{
|
||||||
return $user->lang['RECAPTCHA_INCORRECT'];
|
return $user->lang['RECAPTCHA_INCORRECT'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Encodes the given data into a query string format
|
* Encodes the given data into a query string format
|
||||||
|
Reference in New Issue
Block a user