From 2e7ac40e8189d85355a8bff9991cddb203b31bd3 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Thu, 26 May 2011 03:14:38 +0800 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