mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-14 01:20:27 +00:00
Removed API-Key and PlanePassword logging
This commit is contained in:
parent
f95adf3ea3
commit
0db3c625e8
@ -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