forked from rDrama/rDrama
1
0
Fork 0

handle challenges.cloudflare.com shitting the bed

master
Aevann 2023-08-26 20:31:31 +03:00
parent 4773ca20ff
commit e3fd480bdc
1 changed files with 4 additions and 1 deletions

View File

@ -296,7 +296,10 @@ def sign_up_post(v):
x = requests.post(url, data=data, timeout=5)
if not x.json().get("success"):
try:
if not x.json().get("success"):
return signup_error("Unable to verify captcha [2].")
except:
return signup_error("Unable to verify captcha [2].")
session.pop("signup_token")