Ozzy47
Well-known member
- Affected version
- 2.1
When a bot or a user somehow fills out a honeypot, from what I can tell they should be seeing a error message.
That is out of
PHP:
foreach ($this->honeyPotFields AS $field)
{
$value = $request->filter($this->getFieldName($field), 'str');
if ($value !== '')
{
$error = \XF::phrase('some_fields_contained_unexpected_data_try_again');
return false;
}
That is out of
src/XF/Service/User/RegisterForm.php
and from what I see the user should be seeing the error message some_fields_contained_unexpected_data_try_again
but they don't, they are just redirected to the registration form.