1
0
Fork 0
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:
Sean Morley 2025-05-28 12:21:43 -04:00
parent a7128756bd
commit 8be723b9ad
2 changed files with 35 additions and 8 deletions

View file

@ -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'