From bb44a9202b4e13527d0bb4953d3b5214c4839da6 Mon Sep 17 00:00:00 2001
From: Jonathan Weth <git@jonathanweth.de>
Date: Wed, 15 Jul 2020 11:32:44 +0200
Subject: [PATCH] Allow apps to add custom auth backends

---
 aleksis/core/settings.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/aleksis/core/settings.py b/aleksis/core/settings.py
index e6de512b3..9d6ddc8b4 100644
--- a/aleksis/core/settings.py
+++ b/aleksis/core/settings.py
@@ -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")
-- 
GitLab