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,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")