mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-02 07:52:15 +02:00
Minor cleanup
This commit is contained in:
parent
5f6a7cd044
commit
17ac251c36
2 changed files with 3 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue