stages/password: add constants for password backends
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@ -51,7 +51,10 @@
|
||||
},
|
||||
"model": "authentik_stages_password.passwordstage",
|
||||
"attrs": {
|
||||
"backends": ["django.contrib.auth.backends.ModelBackend"]
|
||||
"backends": [
|
||||
"django.contrib.auth.backends.ModelBackend",
|
||||
"authentik.sources.ldap.auth.LDAPBackend"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@ -54,7 +54,10 @@
|
||||
},
|
||||
"model": "authentik_stages_password.passwordstage",
|
||||
"attrs": {
|
||||
"backends": ["django.contrib.auth.backends.ModelBackend"]
|
||||
"backends": [
|
||||
"django.contrib.auth.backends.ModelBackend",
|
||||
"authentik.sources.ldap.auth.LDAPBackend"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user