Removed password logs for security purposes

This commit is contained in:
Thiago Alves
2025-07-31 15:05:12 -03:00
committed by GitHub
parent c768c58f8f
commit f06902fde3

View File

@@ -61,7 +61,6 @@ class User(db.Model):
def check_password(self, password: str) -> bool:
password = password + app_restapi.config["PEPPER"]
logger.debug(f"Checking password {self.password_hash} | {password}")
return check_password_hash(self.password_hash, password)
def to_dict(self):