Updated to use X_USER as decided in Issue 49
This commit is contained in:
parent
92fc0268ff
commit
0e6902733a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue