utils misc get ip

master
laudiacay 2016-05-15 18:25:44 -04:00
parent 170ccb341e
commit f6c5777657
1 changed files with 1 additions and 1 deletions

2
app.py
View File

@ -202,7 +202,7 @@ def dashboard():
@app.route('/teamconfirm/', methods=["POST"])
def teamconfirm():
if request.remote_addr in config.confirm_ip:
if utils.misc.get_ip() in config.confirm_ip:
team_name = request.form["team_name"].strip()
team_key = request.form["team_key"].strip()
try: