Secure admin login
This commit is contained in:
parent
1754cd609c
commit
a1d5c1c764
1 changed files with 1 additions and 1 deletions
|
@ -14,12 +14,12 @@ admin.site.index_title = _("Dashboard")
|
|||
admin.site.login = secure_admin_login(admin.site.login)
|
||||
|
||||
urlpatterns = [
|
||||
path("admin/", admin.site.urls),
|
||||
path("", include((urls, "servala.frontend"), namespace="frontend")),
|
||||
# This adds the allauth urls to the project:
|
||||
# - accounts/keycloak/login/
|
||||
# - accounts/keycloak/login/callback/
|
||||
path("accounts/", include("allauth.urls")),
|
||||
path("admin/", admin.site.urls),
|
||||
]
|
||||
|
||||
# Serve static and media files in development
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue