From bdb08a8177cc7bb62976595be71b24a5d3a31a5a Mon Sep 17 00:00:00 2001 From: jackeilles Date: Sun, 25 Feb 2024 23:59:41 +0000 Subject: [PATCH] Messed up again --- app/routes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routes.py b/app/routes.py index a0eaf9c..d150b44 100644 --- a/app/routes.py +++ b/app/routes.py @@ -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