diff options
author | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2021-01-04 21:15:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2021-01-04 21:15:58 +0000 |
commit | d41310f9c3b62e8ab462fa94f2bf1b6b7d2b5e23 (patch) | |
tree | b14138db73a98a9f618be86d7ce9c5483b1ea798 /src/dashboard | |
parent | 107d8bb663083cd2e5fc09417ccd41560bc272c9 (diff) | |
parent | bf822708949ad2e57b3966ad2bf485588fe4b29d (diff) |
Merge "Fix issue where users are redirected to Jira login in LFID mode in certain cases"
Diffstat (limited to 'src/dashboard')
-rw-r--r-- | src/dashboard/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dashboard/views.py b/src/dashboard/views.py index 7c85250..ff26c64 100644 --- a/src/dashboard/views.py +++ b/src/dashboard/views.py @@ -22,7 +22,7 @@ from booking.models import Booking from resource_inventory.models import Image, ResourceProfile, ResourceQuery from workflow.workflow_manager import ManagerTracker -import os +from laas_dashboard import settings def lab_list_view(request): @@ -80,7 +80,7 @@ def landing_view(request): else: bookings = None - LFID = True if os.environ['AUTH_SETTING'] == 'LFID' else False + LFID = True if settings.AUTH_SETTING == 'LFID' else False return render( request, 'dashboard/landing.html', |