stages/password: add constants for password backends

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-06-12 12:14:55 +02:00
parent 6661af032d
commit 10d949f7a9
14 changed files with 35 additions and 27 deletions

View File

@ -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"
]
}
},
{

View File

@ -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"
]
}
},
{