From 9f3f06456a2bcf0e9582c3891b67a9e7d2636078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89loi=20Rivard?= Date: Mon, 13 Jan 2025 16:50:43 +0100 Subject: [PATCH] fix: typo on the CANAILLE_LDAP environment var prefix --- canaille/app/configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/canaille/app/configuration.py b/canaille/app/configuration.py index d89d30a4..c688cfae 100644 --- a/canaille/app/configuration.py +++ b/canaille/app/configuration.py @@ -90,7 +90,7 @@ def settings_factory(config, env_file=None, env_prefix=""): attributes["CANAILLE_SQL"] = ((SQLSettings | None), None) if "CANAILLE_LDAP" in config or any( - var.startswith("CANAILLE__LDAP__") for var in os.environ + var.startswith("CANAILLE_LDAP__") for var in os.environ ): from canaille.backends.ldap.configuration import LDAPSettings