remove token from notifier middleware

notifier middleware is capturing token and sending it to MQ. this
is not advisable so we should filter it out.

Change-Id: Ia1bfa1bd24989681db1d2f385defc12e69a01f8d
Closes-Bug: #1321080
This commit is contained in:
gordon chung 2014-05-30 17:11:18 -04:00
parent 94c12fd76c
commit 2b6454f9f4
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class RequestNotifier(base.Middleware):
"""
return dict((k, v) for k, v in six.iteritems(environ)
if k.isupper())
if k.isupper() and k != 'HTTP_X_AUTH_TOKEN')
@log_and_ignore_error
def process_request(self, request):