mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 19:24:01 +02:00
[ticket/16655] Add support for custom error message when exceeding attempts
PHPBB3-16655
This commit is contained in:
@@ -352,4 +352,16 @@ class recaptcha_v3 extends captcha_abstract
|
||||
|
||||
return $language->lang('RECAPTCHA_INCORRECT');
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function get_login_error_attempts(): string
|
||||
{
|
||||
global $language;
|
||||
|
||||
$language->add_lang('captcha_recaptcha');
|
||||
|
||||
return 'RECAPTCHA_V3_LOGIN_ERROR_ATTEMPTS';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user