mirror of
https://github.com/thiagoralves/OpenPLC_v3.git
synced 2025-10-14 02:19:43 +08:00
Removed password logs for security purposes
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user