diff --git a/.gitignore b/.gitignore index 055125d..88ce081 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,5 @@ env .coverage .state staticroot + +__pycache__/ diff --git a/portal/settings.py b/portal/settings.py index 6e85203..7b73141 100644 --- a/portal/settings.py +++ b/portal/settings.py @@ -165,6 +165,7 @@ ACCOUNT_LOGIN_METHODS = {"username"} ACCOUNT_SIGNUP_FIELDS = ["email*", "username*", "first_name*", "last_name*", "password1*", "password2*"] ACCOUNT_MAX_EMAIL_ADDRESSES = 3 +ACCOUNT_LOGOUT_ON_GET = True # Use custom signup form ACCOUNT_FORMS = {