Merge "Fix wrong setting name for SHOW_KEYSTONE_V2_RC"

This commit is contained in:
Zuul 2018-03-21 12:42:25 +00:00 committed by Gerrit Code Review
commit 589bf6702c
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ def openstack(request):
user_menu_links = getattr(settings, "USER_MENU_LINKS", [])
if not getattr(settings, "SHOW_V2_KEYSTONE_RC", True):
if not getattr(settings, "SHOW_KEYSTONE_V2_RC", True):
user_menu_links = [
link for link in user_menu_links
if 'horizon:project:api_access:openrcv2' != link['url']]