mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-26 00:09:38 +02:00
Refactor authentication backends to enhance NoPasswordAuthBackend functionality; integrate Allauth for email login and improve password handling logic.
This commit is contained in:
parent
a7128756bd
commit
8be723b9ad
2 changed files with 35 additions and 8 deletions
|
@ -238,8 +238,8 @@ HEADLESS_FRONTEND_URLS = {
|
|||
|
||||
AUTHENTICATION_BACKENDS = [
|
||||
'users.backends.NoPasswordAuthBackend',
|
||||
'allauth.account.auth_backends.AuthenticationBackend',
|
||||
'django.contrib.auth.backends.ModelBackend',
|
||||
# 'allauth.account.auth_backends.AuthenticationBackend',
|
||||
# 'django.contrib.auth.backends.ModelBackend',
|
||||
]
|
||||
|
||||
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue