diff --git a/eva/settings_development.py b/eva/settings_development.py index 451a343..5791715 100644 --- a/eva/settings_development.py +++ b/eva/settings_development.py @@ -154,3 +154,5 @@ SITE_ID = 1 ACCOUNT_EMAIL_VERIFICATION = 'none' LOGIN_REDIRECT_URL = 'home' + +ACCOUNT_LOGOUT_ON_GET = True diff --git a/eva/settings_production.py b/eva/settings_production.py index c0c1a42..6eb0e86 100644 --- a/eva/settings_production.py +++ b/eva/settings_production.py @@ -173,4 +173,6 @@ SITE_ID = 1 ACCOUNT_EMAIL_VERIFICATION = 'none' +ACCOUNT_LOGOUT_ON_GET = True + LOGIN_REDIRECT_URL = 'home'