app.utilities.recaptchaο
Functionsο
|
Verify the reCAPTCHA response. |
Module Contentsο
- app.utilities.recaptcha.verify_recaptcha(recaptcha_response, remote_ip)[source]ο
Verify the reCAPTCHA response.
- Parameters:
recaptcha_response (str) β The response token from the reCAPTCHA widget.
remote_ip (str) β The IP address of the user.
- Returns:
True if verification succeeded, False otherwise.
- Return type:
bool