Removed API-Key and PlanePassword logging

This commit is contained in:
Benjamin Wind 2019-04-29 14:00:00 +02:00
parent f95adf3ea3
commit 0db3c625e8

View File

@ -2331,8 +2331,6 @@ class ApiKey(db.Model):
Validate user credential
"""
if method == 'LOCAL':
logging.debug(self.plain_text_password)
logging.debug(self.get_hashed_password(self.plain_text_password))
passw_hash = self.get_hashed_password(self.plain_text_password)
apikey = ApiKey.query \
.filter(ApiKey.key == passw_hash.decode('utf-8')) \