Mercurial > kallithea
changeset 7031:dedfa09af3af
auth: remove debug print of user password
Commit 30d61922f24eb144190052818c3fc6a24562f42b (auth: fix crash on invalid
bcrypt password) left a debug print statement of the user's password in
plaintext and its hashed equivalent.
author | Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> |
---|---|
date | Fri, 10 Nov 2017 18:06:04 +0100 |
parents | 1d600909421e |
children | a73ba03097fa |
files | kallithea/lib/auth.py |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/lib/auth.py Sun Nov 12 21:52:04 2017 +0100 +++ b/kallithea/lib/auth.py Fri Nov 10 18:06:04 2017 +0100 @@ -121,7 +121,6 @@ return hashlib.sha256(password).hexdigest() == hashed elif is_unix: import bcrypt - print(safe_str(password), safe_str(hashed)) try: return bcrypt.checkpw(safe_str(password), safe_str(hashed)) except ValueError as e: