Commit 1161a4d5 authored by soxofaan's avatar soxofaan

Revert "Issue #1024370 by soxofaan, nineLemon, Pancho, slashrsm: Prevents...

Revert "Issue #1024370 by soxofaan, nineLemon, Pancho, slashrsm: Prevents CAPTCHA from failing in certain forms"

This reverts commit f56d53ec.

It was a wrong solution and caused other problems (e.g. Issue #1328272)
parent e514b60a
......@@ -208,8 +208,6 @@ function captcha_element_process($element, &$form_state, $complete_form) {
else {
// Generate a new CAPTCHA session if we could not reuse one from a posted form.
$captcha_sid = _captcha_generate_captcha_session($this_form_id, CAPTCHA_STATUS_UNSOLVED);
// Set $posted_form_id during the first rendering of the form.
$posted_form_id = $this_form_id;
}
// Store CAPTCHA session ID as hidden field.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment