Fix wrong setting name for SHOW_KEYSTONE_V2_RC
The user links patch didn't use the same setting variable name in context_processors.py, this fixes that. Closes-Bug: #1757112 Change-Id: Ie0e516d82c2c1cdc1c343075393cdf9c336f8e5f
This commit is contained in:
parent
c5c680cb69
commit
f588b4ee2e
@ -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']]
|
||||
|
Loading…
Reference in New Issue
Block a user