bozoh / moodle-mod_simplecertificate

It's NOT RECOMMENDED to install version below 2.2.6 (MOODLE_31), due a security issues See more in README
17 stars 46 forks source link

Update to reCaptcha2 because reCaptcha1 is no longer supported #197

Closed zonder129 closed 6 years ago

zonder129 commented 6 years ago

Hi there! Google doesn't support reCaptcha 1 anymore. That's why your certificates verifying doesn't work with the old POST params as you expected. Old params was: recaptcha_challenge_field recaptcha_response_field New params: g-recaptcha-response

I made some changes in verify_form.php in validation function and it starts to work. Hope that helps you!