# HG changeset patch # User Thomas De Schampheleire # Date 2017-11-10 18:06:04 # Node ID dedfa09af3af95461f18d7c476668d1e3b65511a # Parent 1d600909421eba8ff661b739cbaa66c0ecd24a5f 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. diff --git a/kallithea/lib/auth.py b/kallithea/lib/auth.py --- a/kallithea/lib/auth.py +++ b/kallithea/lib/auth.py @@ -121,7 +121,6 @@ def check_password(password, hashed): 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: