fix(app): Use correct settings and urls
This commit is contained in:
parent
e6213fd884
commit
e9d3c84e1a
2 changed files with 8 additions and 6 deletions
|
@ -190,9 +190,11 @@ ACCOUNT_USER_DISPLAY = _user_display
|
||||||
|
|
||||||
SOCIALACCOUNT_PROVIDERS = {
|
SOCIALACCOUNT_PROVIDERS = {
|
||||||
"clipper": {
|
"clipper": {
|
||||||
"MESSAGE_SUGGEST_LOGOUT_ON_LOGOUT": True,
|
"APP": {
|
||||||
"MESSAGE_SUGGEST_LOGOUT_ON_LOGOUT_LEVEL": messages.INFO,
|
"MESSAGE_SUGGEST_LOGOUT_ON_LOGOUT": True,
|
||||||
},
|
"MESSAGE_SUGGEST_LOGOUT_ON_LOGOUT_LEVEL": messages.INFO,
|
||||||
|
},
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
AUTH_PASSWORD_VALIDATORS = [
|
AUTH_PASSWORD_VALIDATORS = [
|
||||||
|
|
|
@ -4,10 +4,10 @@ from django.urls import include, path
|
||||||
|
|
||||||
allauth_urls = [
|
allauth_urls = [
|
||||||
# Catch login/logout views of admin site.
|
# Catch login/logout views of admin site.
|
||||||
path("admin/login/", capture_login),
|
path("_admin/login/", capture_login),
|
||||||
path("admin/logout/", capture_logout),
|
path("_admin/logout/", capture_logout),
|
||||||
# Allauth urls.
|
# Allauth urls.
|
||||||
path("profil/", include("allauth.urls")),
|
path("_profil/", include("allauth.urls")),
|
||||||
]
|
]
|
||||||
|
|
||||||
urlpatterns = allauth_urls + [
|
urlpatterns = allauth_urls + [
|
||||||
|
|
Loading…
Reference in a new issue