Updated to use X_USER as decided in Issue 49

This commit is contained in:
Jesse Andrews 2011-05-25 12:14:38 -07:00
parent 92fc0268ff
commit 0e6902733a
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: