Fix: don't print hashes
This commit is contained in:
parent
6bc0710479
commit
f3cd8b317a
1 changed files with 0 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue