From 0e6902733a7e8ee8bd60323abcf72cf5f3c3a3bf Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Wed, 25 May 2011 12:14:38 -0700 Subject: Updated to use X_USER as decided in Issue 49 --- keystone/auth_protocols/nova_auth_token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keystone/auth_protocols/nova_auth_token.py b/keystone/auth_protocols/nova_auth_token.py index 150fcd88..e9d61b74 100644 --- a/keystone/auth_protocols/nova_auth_token.py +++ b/keystone/auth_protocols/nova_auth_token.py @@ -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: -- cgit