mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-01-07 10:55:40 +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
|
Validate user credential
|
||||||
"""
|
"""
|
||||||
if method == 'LOCAL':
|
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)
|
passw_hash = self.get_hashed_password(self.plain_text_password)
|
||||||
apikey = ApiKey.query \
|
apikey = ApiKey.query \
|
||||||
.filter(ApiKey.key == passw_hash.decode('utf-8')) \
|
.filter(ApiKey.key == passw_hash.decode('utf-8')) \
|
||||||
|
Loading…
Reference in New Issue
Block a user