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 evilhero
parent 82d14279aa
commit 41f19fb8f6
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):