Added replacement of uid and key for nzbsrus
Prevent people posting log files with their account information
This commit is contained in:
@@ -5,7 +5,7 @@ import traceback
|
||||
class CPLog(object):
|
||||
|
||||
context = ''
|
||||
replace_private = ['api', 'apikey', 'api_key', 'password', 'username', 'h']
|
||||
replace_private = ['api', 'apikey', 'api_key', 'password', 'username', 'h', 'uid', 'key']
|
||||
|
||||
def __init__(self, context = ''):
|
||||
if context.endswith('.main'):
|
||||
|
||||
Reference in New Issue
Block a user