mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-26 04:28:39 +02:00
Fixes the logout bug
It works!
This commit is contained in:
parent
ce0bab4ada
commit
5f6a7cd044
2 changed files with 5 additions and 1 deletions
|
@ -285,7 +285,7 @@ SERVER_EMAIL = "root@get.gov"
|
||||||
|
|
||||||
# Content-Security-Policy configuration
|
# Content-Security-Policy configuration
|
||||||
# this can be restrictive because we have few external scripts
|
# this can be restrictive because we have few external scripts
|
||||||
allowed_sources = ("'self'",)
|
allowed_sources = ("'self'", "https://idp.int.identitysandbox.gov", "https://idp.int.identitysandbox.gov/openid_connect/logout")
|
||||||
CSP_DEFAULT_SRC = allowed_sources
|
CSP_DEFAULT_SRC = allowed_sources
|
||||||
# Most things fall back to default-src, but these two do not and should be
|
# Most things fall back to default-src, but these two do not and should be
|
||||||
# explicitly set
|
# explicitly set
|
||||||
|
|
|
@ -45,6 +45,10 @@ for step, view in [
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path("", views.index, name="home"),
|
path("", views.index, name="home"),
|
||||||
|
path(
|
||||||
|
"admin/logout/",
|
||||||
|
RedirectView.as_view(url="/openid/logout", permanent=False),
|
||||||
|
),
|
||||||
path("admin/", admin.site.urls),
|
path("admin/", admin.site.urls),
|
||||||
path(
|
path(
|
||||||
"application/<id>/edit/",
|
"application/<id>/edit/",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue