Fixed bad redirect on password set, updated settings

This commit is contained in:
Felipe Martín 2015-09-02 23:29:42 +02:00
parent edd6403d80
commit c48659f718
1 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,8 @@ AUTHENTICATION_BACKENDS = (
# Sites and social auth
ACCOUNT_LOGOUT_ON_GET = True
ACCOUNT_USERNAME_MIN_LENGTH = 3
SITE_ID = 1
LOGIN_REDIRECT_URL = '/'
LOGIN_URL = '/account/login/'