Bug: API & user key obfuscation

Hiding the full API & user keys for Pushover from logging
This commit is contained in:
barbequesauce 2018-08-02 11:51:14 -04:00 committed by GitHub
parent 822fb0b074
commit df3e125f6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -5393,7 +5393,8 @@ class WebInterface(object):
if result == True:
return "Successfully sent PushOver test - check to make sure it worked"
else:
return "Error sending test message to Pushover - check your shiet."
logger.warn('Last six characters of the test variables used [APIKEY: %s][USERKEY: %s]' % (apikey[-6:], userkey[-6:]))
return "Error sending test message to Pushover"
testpushover.exposed = True
def testpushbullet(self, apikey):