summaryrefslogtreecommitdiffstats
path: root/keystone/common/wsgi.py
diff options
context:
space:
mode:
authorGuang Yee <guang.yee@hp.com>2013-02-25 12:46:16 -0800
committerGuang Yee <guang.yee@hp.com>2013-02-26 09:22:09 -0800
commit250e6716bd91f9cc3412c92e5341557e59837e1e (patch)
tree45aaadc5f93c9852b8de78a782e074d02c4e9da1 /keystone/common/wsgi.py
parentf3d2a462209a9f2dd3faa1c5ca271f304eaa16d5 (diff)
downloadkeystone-250e6716bd91f9cc3412c92e5341557e59837e1e.tar.gz
keystone-250e6716bd91f9cc3412c92e5341557e59837e1e.tar.xz
keystone-250e6716bd91f9cc3412c92e5341557e59837e1e.zip
bug 1131840: fix auth and token data for XML translation
Change-Id: I4408b3e6e0752ca75bc36399f5148890820e9a89
Diffstat (limited to 'keystone/common/wsgi.py')
-rw-r--r--keystone/common/wsgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystone/common/wsgi.py b/keystone/common/wsgi.py
index a515eefe..108cc0ca 100644
--- a/keystone/common/wsgi.py
+++ b/keystone/common/wsgi.py
@@ -553,5 +553,5 @@ def render_exception(error):
'message': str(error)
}}
if isinstance(error, exception.AuthPluginException):
- body['authentication'] = error.authentication
+ body['error']['identity'] = error.authentication
return render_response(status=(error.code, error.title), body=body)