Skip to content

Commit

Permalink
fix admin login not working
Browse files Browse the repository at this point in the history
  • Loading branch information
lilioid committed Feb 14, 2024
1 parent 44d3ab4 commit e68c766
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
OPENID_SUPERUSER_GROUPS = env.list("DJANGO_OPENID_SUPERUSER_GROUPS", default=[])



# static django config

INSTALLED_APPS = [
Expand Down Expand Up @@ -114,8 +113,6 @@
WSGI_APPLICATION = "{{ cookiecutter.project_slug }}.wsgi.application"

AUTH_USER_MODEL = "{{ cookiecutter.project_slug }}_core.MafiasiUser"
LOGIN_REDIRECT_URL = "/"
OPENID_REDIRECT_URI = None

SILENCED_SYSTEM_CHECKS = [
# disable tls related checks because tls stuff is handled externally by our reverse-proxy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

urlpatterns = [
path("admin/", admin.site.urls),
path("admin/openid-auth/", include("simple_openid_connect.urls")),
path("api/", include("{{ cookiecutter.project_slug }}.api.urls")),
path("metrics/", include("{{ cookiecutter.project_slug }}.metrics.urls")),
]

0 comments on commit e68c766

Please sign in to comment.