Commit bde4dc5f by aamir-khan Committed by David Baumgold

ECOM-1947: updated the middleware to exclude the password strings from event logging

parent d6d05307
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment