mirror of
https://github.com/jackeilles/xygt.git
synced 2024-11-22 14:52:39 +01:00
Messed up again
This commit is contained in:
parent
a72041b2b4
commit
bdb08a8177
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"]})["userid"])
|
print(Config.users.find({"userid": request.form["userid"]}))
|
||||||
print(Config.users.find({"userid": request.form["userid"]})["idpass"])
|
print(Config.users.find({"userid": request.form["userid"]}))
|
||||||
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