diff --git a/TWB/settings.py b/TWB/settings.py index b6baa61..5257909 100644 --- a/TWB/settings.py +++ b/TWB/settings.py @@ -36,6 +36,9 @@ WEBPUSH_SETTINGS = { "VAPID_ADMIN_EMAIL": "admin@tripwb.com" } + +SOCIALACCOUNT_LOGIN_ON_GET=True + AUTHENTICATION_BACKENDS = [ 'django.contrib.auth.backends.ModelBackend', 'allauth.account.auth_backends.AuthenticationBackend',