Updated to use X_USER as decided in Issue 49

This commit is contained in:
Jesse Andrews 2011-05-26 03:14:38 +08:00 committed by Kevin L. Mitchell
parent 3663a3bc8f
commit 2e7ac40e81
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class KeystoneAuthShim(wsgi.Middleware):
def __call__(self, req):
# Parse out user_id
try:
user_id = req.headers['X_AUTHORIZATION'].split()[1]
user_id = req.headers['X_USER']
except:
return webob.exc.HTTPUnauthorized()
try: