Messed up again

This commit is contained in:
jackeilles 2024-02-25 23:59:41 +00:00
parent a72041b2b4
commit bdb08a8177
No known key found for this signature in database
GPG key ID: 7822D1CB748879A9

View file

@ -65,8 +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"])
print(Config.users.find({"userid": request.form["userid"]}))
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"]:
# Init variables before they're passed