Changes for captcha.module: 1 added line, 1 removed line.
Original line number
Diff line number
Diff line
@@ -606,7 +606,7 @@ function captcha_validate($element, FormStateInterface &$form_state) {
// rebuilds for re-use attacks during element processing so this should be
// rare if it ever happens.
$form_state->setErrorByName('captcha',t('CAPTCHA validation error: unknown CAPTCHA session ID. Contact the site administrator if this problem persists.'));
\Drupal::logger('CAPTCHA')->error(
\Drupal::logger('CAPTCHA')->warning(
'CAPTCHA validation error: unknown CAPTCHA session ID (%csid).',