Added replacement of uid and key for nzbsrus
Prevent people posting log files with their account information
This commit is contained in:
1 parent
378d1ccd1c
commit
fef3eb1b84
1 file changed
+1
-1
@@ -5,7 +5,7 @@ import traceback
|
|||||||
class CPLog(object):
|
class CPLog(object):
|
||||||
|
|
||||||
context = ''
|
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 = ''):
|
def __init__(self, context = ''):
|
||||||
if context.endswith('.main'):
|
if context.endswith('.main'):
|
||||||
|
|||||||
Reference in new issue
Block a user