diff options
Diffstat (limited to 'nova/api/openstack/compute/console_auth_tokens.py')
-rw-r--r-- | nova/api/openstack/compute/console_auth_tokens.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/compute/console_auth_tokens.py b/nova/api/openstack/compute/console_auth_tokens.py index ae838fe857..810eb00ca3 100644 --- a/nova/api/openstack/compute/console_auth_tokens.py +++ b/nova/api/openstack/compute/console_auth_tokens.py @@ -30,7 +30,7 @@ class ConsoleAuthTokensController(wsgi.Controller): def _show(self, req, id, rdp_only): """Checks a console auth token and returns the related connect info.""" context = req.environ['nova.context'] - context.can(cat_policies.BASE_POLICY_NAME, target={}) + context.can(cat_policies.BASE_POLICY_NAME) token = id if not token: |