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

Reorder authentication backends to prioritize NoPasswordAuthBackend while retaining Allauth and ModelBackend

This commit is contained in:
Sean Morley 2025-05-28 11:54:21 -04:00
parent d41d46f15d
commit a7128756bd

View file

@ -237,8 +237,8 @@ HEADLESS_FRONTEND_URLS = {
}
AUTHENTICATION_BACKENDS = [
'allauth.account.auth_backends.AuthenticationBackend',
'users.backends.NoPasswordAuthBackend',
'allauth.account.auth_backends.AuthenticationBackend',
'django.contrib.auth.backends.ModelBackend',
]