Ook bij deze de bugs eruit. Werkt nu goed

This commit is contained in:
2022-03-16 17:25:46 +01:00
parent cd539a65ba
commit d84027ac14
+3 -3
View File
@@ -15,7 +15,7 @@ db = client["groclist"]
username = input("Username :") username = input("Username :")
#password = getpass.getpass("Password: ") #password = getpass.getpass("Password: ")
userid = db.user_cred.find_one({"username": username}) userid = db.user_cred.find_one({"username": username}, {"uuid":1, "_id":0})
email = db.user_info.find_one({"uuid": userid{"uuid": 1} ,"name": 1, "email": 1}) email = db.user_info.find_one(userid ,{"name": 1, "email": 1, "_id":0})
print (userid, email) print (email)