From 0bea5bfb5a6bc2e34d8924bea37ff6a13fc267cc Mon Sep 17 00:00:00 2001 From: Noloquideus Date: Sun, 28 Jun 2026 14:12:24 +0300 Subject: [PATCH] fix: remove hash value logging --- src/infrastructure/security/hash.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/infrastructure/security/hash.py b/src/infrastructure/security/hash.py index 94d92b8..a321532 100644 --- a/src/infrastructure/security/hash.py +++ b/src/infrastructure/security/hash.py @@ -9,9 +9,7 @@ class HashService(IHashService): async def hash(self, value: str) -> str: hashed_value = bcrypt.hashpw(value.encode(), bcrypt.gensalt()) - self._logger.info(f'Hash value {hashed_value.decode()}') return hashed_value.decode() async def verify(self, hashed_value: str, plain_value: str) -> bool: - self._logger.info(f'Hash value {hashed_value[:10]}') return bcrypt.checkpw(plain_value.encode(), hashed_value.encode()) \ No newline at end of file