mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-12 16:40:26 +00:00
Merge pull request #499 from in0th3p/passwordRemoval
Removed API-Key and PlanePassword logging
This commit is contained in:
commit
4d1953bf07
@ -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')) \
|
||||
|
Loading…
Reference in New Issue
Block a user