use email auth backend
This commit is contained in:
parent
c6d8c74b6d
commit
d5bdacde05
1 changed files with 3 additions and 3 deletions
|
@ -194,9 +194,9 @@ ACCOUNT_LOGIN_REDIRECT_URL = "dashboard"
|
|||
ACCOUNT_LOGOUT_REDIRECT_URL = "home"
|
||||
ACCOUNT_USER_DISPLAY = lambda user: user.email
|
||||
|
||||
# AUTHENTICATION_BACKENDS = [
|
||||
# "pinax.apps.account.auth_backends.AuthenticationBackend",
|
||||
# ]
|
||||
AUTHENTICATION_BACKENDS = [
|
||||
"account.auth_backends.EmailAuthenticationBackend",
|
||||
]
|
||||
|
||||
LOGIN_URL = "/account/login/" # @@@ any way this can be a url name?
|
||||
|
||||
|
|
Loading…
Reference in a new issue