mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-12-23 22:58:17 -05:00
Reorder authentication backends to prioritize NoPasswordAuthBackend while retaining Allauth and ModelBackend
This commit is contained in:
@@ -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',
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user