add user display
This commit is contained in:
parent
52dd22f0da
commit
11ac37efed
1 changed files with 2 additions and 0 deletions
|
@ -189,6 +189,8 @@ ACCOUNT_EMAIL_VERIFICATION = False
|
||||||
ACCOUNT_EMAIL_AUTHENTICATION = False
|
ACCOUNT_EMAIL_AUTHENTICATION = False
|
||||||
ACCOUNT_UNIQUE_EMAIL = EMAIL_CONFIRMATION_UNIQUE_EMAIL = False
|
ACCOUNT_UNIQUE_EMAIL = EMAIL_CONFIRMATION_UNIQUE_EMAIL = False
|
||||||
|
|
||||||
|
ACCOUNT_USER_DISPLAY = lambda user: user.email
|
||||||
|
|
||||||
# AUTHENTICATION_BACKENDS = [
|
# AUTHENTICATION_BACKENDS = [
|
||||||
# "pinax.apps.account.auth_backends.AuthenticationBackend",
|
# "pinax.apps.account.auth_backends.AuthenticationBackend",
|
||||||
# ]
|
# ]
|
||||||
|
|
Loading…
Reference in a new issue