Skip to content

Commit

Permalink
fix auto-login after sign up
Browse files Browse the repository at this point in the history
  • Loading branch information
jtauber committed Feb 9, 2015
1 parent 7cc4db8 commit 6e73acd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions project_name/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@
ACCOUNT_LOGIN_REDIRECT_URL = "home"
ACCOUNT_LOGOUT_REDIRECT_URL = "home"
ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS = 2
ACCOUNT_USE_AUTH_AUTHENTICATE = True

AUTHENTICATION_BACKENDS = [
"account.auth_backends.UsernameAuthenticationBackend",
Expand Down

0 comments on commit 6e73acd

Please sign in to comment.