From bbf0346f6a71edffe641006a9856e34f7ecb90f9 Mon Sep 17 00:00:00 2001 From: Reid 'arrdem' McKenzie Date: Sat, 8 Jul 2023 22:10:13 -0600 Subject: [PATCH] Fix: don't print hashes --- projects/tentacles/src/python/tentacles/db.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/projects/tentacles/src/python/tentacles/db.py b/projects/tentacles/src/python/tentacles/db.py index b267fd3..f500f03 100644 --- a/projects/tentacles/src/python/tentacles/db.py +++ b/projects/tentacles/src/python/tentacles/db.py @@ -185,9 +185,6 @@ class Db(Queries): digest.update(password.encode("utf-8")) res = super().try_login(username=username, hash=digest.hexdigest()) if not res: - print("WARNING: Failed to log in!") - for it in self._cursor.execute("SELECT * FROM users").fetchall(): - print("DEBUG", it) return None return self.create_key(uid=res.id, name="web session", ttl=ttl)