1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-18 20:39:36 +02:00

Add authentication backends for Allauth and Django's ModelBackend

This commit is contained in:
Sean Morley 2025-05-28 11:06:21 -04:00
parent 9df0338c3d
commit 6be4acb196

View file

@ -237,7 +237,9 @@ HEADLESS_FRONTEND_URLS = {
}
AUTHENTICATION_BACKENDS = [
'allauth.account.auth_backends.AuthenticationBackend',
'users.backends.NoPasswordAuthBackend',
'django.contrib.auth.backends.ModelBackend',
]
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'