Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.5.2, 3.6
-
Fix Version/s: 3.5
-
Component/s: Module: Scheduler
-
Labels:None
-
Affected Branches:MOODLE_35_STABLE, MOODLE_36_STABLE
-
Fixed Branches:MOODLE_35_STABLE
-
Pull from Repository:
Description
When booking in a slot (with recaptcha enabled), the submitted form data still uses recaptcha_challenge_field, which is V1 for reCAPTCHA. This means that even if the user selects the validation/image challenge correctly, the message "Failed" will always be prompted.
This updates the mod_scheduler validation function for reCAPTCHA to use V2 implementation using g-recaptcha-response.