mirror of
https://github.com/aaronleetw/Attendance.git
synced 2024-11-14 19:11:39 -08:00
Add recaptcha log
This commit is contained in:
parent
7e1ac04321
commit
bfebfa2981
1 changed files with 1 additions and 0 deletions
1
app.py
1
app.py
|
@ -42,6 +42,7 @@ def verify_recaptcha(response):
|
|||
}
|
||||
r = requests.post(
|
||||
'https://www.google.com/recaptcha/api/siteverify', data=data)
|
||||
print(j.json())
|
||||
return r.json()['success']
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue