allauth always logout

This commit is contained in:
Matthias 2021-09-07 00:33:26 +02:00
parent 32e216599b
commit e380f94e01
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -662,6 +662,8 @@ for app in SOCIAL_BACKENDS:
INSTALLED_APPS.append(app)
# settings for allauth
ACCOUNT_LOGOUT_ON_PASSWORD_CHANGE = True
ACCOUNT_FORMS = {
'login': 'allauth.account.forms.LoginForm',
'signup': 'InvenTree.forms.CustomSignupForm',