Skip to content

Instantly share code, notes, and snippets.

@brunomichetti
Created July 1, 2022 19:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunomichetti/67521796ad4ee84d220011c1303de52b to your computer and use it in GitHub Desktop.
Save brunomichetti/67521796ad4ee84d220011c1303de52b to your computer and use it in GitHub Desktop.
AUTHENTICATION_BACKENDS = [
# allauth specific authentication methods, such as login by e-mail
'allauth.account.auth_backends.AuthenticationBackend',
# Needed to login by username in Django admin, regardless of allauth
'django.contrib.auth.backends.ModelBackend',
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment