From 0d35a3df02d679e85a3afdf5a7654df1262a9eb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Tue, 28 Jan 2025 10:08:08 +0100 Subject: [PATCH] fix(user_ldap): Add missing use in ajax endpoint and fix L10N injection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- apps/user_ldap/ajax/testConfiguration.php | 1 + apps/user_ldap/lib/Connection.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/user_ldap/ajax/testConfiguration.php b/apps/user_ldap/ajax/testConfiguration.php index 189949d515a..480209354b5 100644 --- a/apps/user_ldap/ajax/testConfiguration.php +++ b/apps/user_ldap/ajax/testConfiguration.php @@ -1,5 +1,6 @@ doNotValidate = !in_array($this->configPrefix, $helper->getServerConfigurationPrefixes()); $this->logger = Server::get(LoggerInterface::class); - $this->l10n = Server::get(IL10N::class); + $this->l10n = Util::getL10N('user_ldap'); } public function __destruct() {