ECOM-1947: updated the middleware to exclude the password strings from event logging
This commit is contained in:
committed by
Ned Batchelder
parent
2e53b9e82c
commit
f286152f5a
@@ -63,7 +63,7 @@ class TrackMiddleware(object):
|
||||
# files when we change this.
|
||||
|
||||
censored_strings = ['password', 'newpassword', 'new_password',
|
||||
'oldpassword', 'old_password']
|
||||
'oldpassword', 'old_password', 'new_password1', 'new_password2']
|
||||
post_dict = dict(request.POST)
|
||||
get_dict = dict(request.GET)
|
||||
for string in censored_strings:
|
||||
|
||||
Reference in New Issue
Block a user