Update utils.py
This commit is contained in:
parent
f678c47f01
commit
0c831f8235
|
@ -267,8 +267,6 @@ def verify_recaptcha(request):
|
|||
}
|
||||
r = rq.post('https://www.google.com/recaptcha/api/siteverify', data=data)
|
||||
result = r.json()
|
||||
# print
|
||||
print(result)
|
||||
if not result['success']:
|
||||
logger.warning("Utils - verify_recaptcha: " + str(result))
|
||||
return result['success']
|
||||
|
|
Loading…
Reference in New Issue