Updated to use X_USER as decided in Issue 49
This commit is contained in:
parent
3663a3bc8f
commit
2e7ac40e81
|
@ -54,7 +54,7 @@ class KeystoneAuthShim(wsgi.Middleware):
|
||||||
def __call__(self, req):
|
def __call__(self, req):
|
||||||
# Parse out user_id
|
# Parse out user_id
|
||||||
try:
|
try:
|
||||||
user_id = req.headers['X_AUTHORIZATION'].split()[1]
|
user_id = req.headers['X_USER']
|
||||||
except:
|
except:
|
||||||
return webob.exc.HTTPUnauthorized()
|
return webob.exc.HTTPUnauthorized()
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue