Skip to content

Commit c564fe7

Browse files
Let user logout without confirming (#59)
1 parent e5f53ac commit c564fe7

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ env
1010
.coverage
1111
.state
1212
staticroot
13+
14+
__pycache__/

portal/settings.py

+1
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@
165165
ACCOUNT_LOGIN_METHODS = {"username"}
166166
ACCOUNT_SIGNUP_FIELDS = ["email*", "username*", "first_name*", "last_name*", "password1*", "password2*"]
167167
ACCOUNT_MAX_EMAIL_ADDRESSES = 3
168+
ACCOUNT_LOGOUT_ON_GET = True
168169

169170
# Use custom signup form
170171
ACCOUNT_FORMS = {

0 commit comments

Comments
 (0)