aboutsummaryrefslogtreecommitdiffstats
path: root/src/dashboard/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/dashboard/views.py')
-rw-r--r--src/dashboard/views.py4
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',