Open pauser0000001 opened 7 years ago
Will include in next release.
On a second though, as I don't usually use AJAX I didn't realize. What will happen to a single page website made with AJAX? There should be no problem with the captcha, but it will be with the CSRF token. Perhaps it is better to delete the CSRF token only on forms not received by AJAX, and perhaps only on webs with the debug option set to 0.
The capchas should have one use only, otherwise an attacker can send several times the same form with the same captcha once it is solved. Optionally, a parameter is added to continue with the previous behaviour.