Skip to content

Commit 4ee1a90

Browse files
committed
add setting to log users out once they changed their password #1363
1 parent 4d9d634 commit 4ee1a90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

oeplatform/settings.py

+1
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ def external_urls_context_processor(request):
254254
ACCOUNT_FORMS = {"signup": "login.forms.CreateUserForm"}
255255
# ACCOUNT_SIGNUP_FORM_CLASS = {"login.forms.CreateUserForm"}
256256
ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION = True
257+
ACCOUNT_LOGOUT_ON_PASSWORD_CHANGE = True
257258

258259

259260
# https://django-allauth.readthedocs.io/en/latest/configuration.html

0 commit comments

Comments
 (0)