Skip to content
Snippets Groups Projects
Verified Commit bb44a920 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Allow apps to add custom auth backends

parent 692a99f1
No related branches found
No related tags found
1 merge request!334Resolve "Support custom authentication backends"
......@@ -282,6 +282,8 @@ if _settings.get("ldap.uri", None):
"is_superuser"
]
merge_app_settings("AUTHENTICATION_BACKENDS", AUTHENTICATION_BACKENDS)
# Add ModelBckend last so all other backends get a chance
# to verify passwords first
AUTHENTICATION_BACKENDS.append("django.contrib.auth.backends.ModelBackend")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment