forked from MarseyWorld/MarseyWorld
remove now-unncessary
parent
fe15845c13
commit
6807dc84be
|
@ -239,13 +239,6 @@ def sign_up_post(v):
|
|||
email=email,
|
||||
), 400
|
||||
|
||||
|
||||
if II_KEY:
|
||||
data = requests.get(f'https://ipinfo.io/{get_IP()}?token={II_KEY}', headers=HEADERS, timeout=5).json()
|
||||
print(data['region'], flush=True)
|
||||
if data['region'] == 'Tennessee':
|
||||
return signup_error("There was a problem. Please try again!")
|
||||
|
||||
if username.title() in GIRL_NAMES_TOTAL:
|
||||
return signup_error("This name is reserved for a site award.")
|
||||
|
||||
|
|
Loading…
Reference in New Issue