Fix: don't print hashes

This commit is contained in:
Reid 'arrdem' McKenzie 2023-07-08 22:10:13 -06:00
parent 6bc0710479
commit f3cd8b317a

View file

@ -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)