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
3e277708f8
commit
a72041b2b4
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ def index():
|
|||
ip = 0
|
||||
|
||||
# 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"]})["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
|
||||
|
|
Loading…
Reference in a new issue