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',
]