diff --git a/captcha.module b/captcha.module index c9267555d2b94506415b7cc423feb5bf38d2f541..676f3621eb30011b4d4db33ca0bfefd6930c6a93 100644 --- a/captcha.module +++ b/captcha.module @@ -619,14 +619,6 @@ function captcha_validate($element, &$form_state) { ), WATCHDOG_NOTICE); } - // If CAPTCHA was on a login form: stop validating, quit the current request - // and forward to the current page (like a reload) to prevent loging in. - // We do that because the log in procedure, which happens after - // captcha_validate(), does not check error conditions of extra form - // elements like the CAPTCHA. - if ($form_id == 'user_login' || $form_id == 'user_login_block') { - drupal_goto($_GET['q']); - } } } }