mirror of
https://github.com/jackeilles/xygt.git
synced 2024-11-22 14:52:39 +01:00
uggghhhhhh
This commit is contained in:
parent
bdb08a8177
commit
078a49e764
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@ def index():
|
||||||
ip = 0
|
ip = 0
|
||||||
|
|
||||||
# Now check the userid and idpass against the db
|
# Now check the userid and idpass against the db
|
||||||
print(Config.users.find({"userid": request.form["userid"]}))
|
print(Config.users.find({"userid": request.form.get('userid')}))
|
||||||
print(Config.users.find({"userid": request.form["userid"]}))
|
print(Config.users.find({"userid": request.form.get('idpass')}))
|
||||||
if Config.users.find({"userid": request.form["userid"]})["userid"] == request.form["userid"] and Config.users.find({"userid": request.form["userid"]})["idpass"] == request.form["idpass"]:
|
if Config.users.find({"userid": request.form["userid"]})["userid"] == request.form["userid"] and Config.users.find({"userid": request.form["userid"]})["idpass"] == request.form["idpass"]:
|
||||||
|
|
||||||
# Init variables before they're passed
|
# Init variables before they're passed
|
||||||
|
|
Loading…
Reference in a new issue