Add recaptcha log

This commit is contained in:
Aaron Lee 2021-10-02 01:57:36 +00:00
parent 7e1ac04321
commit bfebfa2981

1
app.py
View file

@ -42,6 +42,7 @@ def verify_recaptcha(response):
} }
r = requests.post( r = requests.post(
'https://www.google.com/recaptcha/api/siteverify', data=data) 'https://www.google.com/recaptcha/api/siteverify', data=data)
print(j.json())
return r.json()['success'] return r.json()['success']