forked from MarseyWorld/MarseyWorld
handle challenges.cloudflare.com shitting the bed
parent
4773ca20ff
commit
e3fd480bdc
|
@ -296,8 +296,11 @@ def sign_up_post(v):
|
|||
|
||||
x = requests.post(url, data=data, timeout=5)
|
||||
|
||||
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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue