Skip to content

Commit

Permalink
ECOM-1947: updated the middleware to exclude the password strings fro…
Browse files Browse the repository at this point in the history
…m event logging
  • Loading branch information
aamir-khan authored and singingwolfboy committed Aug 3, 2015
1 parent d6d0530 commit bde4dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/djangoapps/track/middleware.py
Expand Up @@ -63,7 +63,7 @@ def process_request(self, request):
# 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:
Expand Down

0 comments on commit bde4dc5

Please sign in to comment.