fix(app): Use correct settings and urls

This commit is contained in:
Tom Hubrecht 2024-11-23 11:28:31 +01:00
parent e6213fd884
commit e9d3c84e1a
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc
2 changed files with 8 additions and 6 deletions

View file

@ -190,9 +190,11 @@ ACCOUNT_USER_DISPLAY = _user_display
SOCIALACCOUNT_PROVIDERS = {
"clipper": {
"MESSAGE_SUGGEST_LOGOUT_ON_LOGOUT": True,
"MESSAGE_SUGGEST_LOGOUT_ON_LOGOUT_LEVEL": messages.INFO,
},
"APP": {
"MESSAGE_SUGGEST_LOGOUT_ON_LOGOUT": True,
"MESSAGE_SUGGEST_LOGOUT_ON_LOGOUT_LEVEL": messages.INFO,
},
}
}
AUTH_PASSWORD_VALIDATORS = [

View file

@ -4,10 +4,10 @@ from django.urls import include, path
allauth_urls = [
# Catch login/logout views of admin site.
path("admin/login/", capture_login),
path("admin/logout/", capture_logout),
path("_admin/login/", capture_login),
path("_admin/logout/", capture_logout),
# Allauth urls.
path("profil/", include("allauth.urls")),
path("_profil/", include("allauth.urls")),
]
urlpatterns = allauth_urls + [