Minor cleanup

This commit is contained in:
zandercymatics 2023-08-14 10:17:29 -06:00
parent 5f6a7cd044
commit 17ac251c36
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 3 additions and 8 deletions

View file

@ -47,7 +47,7 @@ urlpatterns = [
path("", views.index, name="home"),
path(
"admin/logout/",
RedirectView.as_view(url="/openid/logout", permanent=False),
RedirectView.as_view(pattern_name="logout", permanent=False),
),
path("admin/", admin.site.urls),
path(
@ -125,11 +125,6 @@ if not settings.DEBUG:
path(
"admin/login/", RedirectView.as_view(pattern_name="login", permanent=False)
),
# redirect to login.gov
path(
"admin/logout/",
RedirectView.as_view(pattern_name="logout", permanent=False),
),
]
# we normally would guard these with `if settings.DEBUG` but tests run with