mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-19 04:49:37 +02:00
Reorder authentication backends to prioritize NoPasswordAuthBackend while retaining Allauth and ModelBackend
This commit is contained in:
parent
d41d46f15d
commit
a7128756bd
1 changed files with 1 additions and 1 deletions
|
@ -237,8 +237,8 @@ HEADLESS_FRONTEND_URLS = {
|
||||||
}
|
}
|
||||||
|
|
||||||
AUTHENTICATION_BACKENDS = [
|
AUTHENTICATION_BACKENDS = [
|
||||||
'allauth.account.auth_backends.AuthenticationBackend',
|
|
||||||
'users.backends.NoPasswordAuthBackend',
|
'users.backends.NoPasswordAuthBackend',
|
||||||
|
'allauth.account.auth_backends.AuthenticationBackend',
|
||||||
'django.contrib.auth.backends.ModelBackend',
|
'django.contrib.auth.backends.ModelBackend',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue