forked from rDrama/rDrama
handle turnstile outages
parent
330fd9c97d
commit
c6af523b5d
|
@ -302,7 +302,7 @@ def sign_up_post(v:Optional[User]):
|
|||
|
||||
x = requests.post(url, data=data, timeout=5)
|
||||
|
||||
if not x.json()["success"]:
|
||||
if not x.json().get("success"):
|
||||
return signup_error("Unable to verify captcha [2].")
|
||||
|
||||
session.pop("signup_token")
|
||||
|
|
Loading…
Reference in New Issue