From 29c3a3131bd1b3cebf5ac7e109d3d86cbc4e272f Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Thu, 26 Oct 2023 19:38:50 +1100 Subject: [PATCH] Remove unused "manager_logout" route --- src/project/urls.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/project/urls.py b/src/project/urls.py index d676efcf..56e15288 100644 --- a/src/project/urls.py +++ b/src/project/urls.py @@ -4,7 +4,6 @@ # Uncomment the next two lines to enable the admin: from django.contrib import admin -import django.contrib.auth.views from django.http import HttpResponseRedirect, HttpResponse from django.shortcuts import resolve_url import loginas.urls @@ -28,8 +27,6 @@ # For now, use basic auth. re_path(r'^accounts/', include('django.contrib.auth.urls')), - re_path(r'^accounts/logout/$', django.contrib.auth.views.logout_then_login, - name='manager_logout'), # For now, the API and the management console are hosted together. re_path(r'^api/v2/', include('sa_api_v2.urls')),