0.11.19 Google Auth

This commit is contained in:
SDE
2024-01-15 19:31:30 +03:00
parent 651ae18345
commit 793d283d97
3 changed files with 70 additions and 1 deletions

View File

@@ -48,6 +48,8 @@ LOGIN_REDIRECT_URL = '/profile/page/dashboard/'
LOGOUT_REDIRECT_URL = '/profile/login/'
ACCOUNT_SIGNUP_REDIRECT_URL = '/profile/login/'
ACCOUNT_LOGOUT_ON_GET = True
# SOCIALACCOUNT_ADAPTER = 'GeneralApp.allauth_funcs.MyAccountAdapter'
ACCOUNT_ADAPTER = 'GeneralApp.allauth_funcs.MyAccountAdapter'
AUTHENTICATION_BACKENDS = [
'django.contrib.auth.backends.ModelBackend',