Update utils.py

This commit is contained in:
Jaya Surya P 2023-06-05 20:53:26 +05:30 committed by GitHub
parent f678c47f01
commit 0c831f8235
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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']