diff --git a/app/settings.py b/app/settings.py index f94f18a..2ceb886 100644 --- a/app/settings.py +++ b/app/settings.py @@ -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 = [ diff --git a/app/urls.py b/app/urls.py index 3060432..05d4032 100644 --- a/app/urls.py +++ b/app/urls.py @@ -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 + [