From 593bb1acba53d16ce617909876c24843ab5428f3 Mon Sep 17 00:00:00 2001
From: Damien <damien.burel@maarch.org>
Date: Thu, 19 Nov 2020 12:27:08 +0100
Subject: [PATCH] FEAT #15411 TIME 1:00 Ldap case connection

---
 src/core/controllers/AuthenticationController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/controllers/AuthenticationController.php b/src/core/controllers/AuthenticationController.php
index 0997dce5297..3557559a163 100755
--- a/src/core/controllers/AuthenticationController.php
+++ b/src/core/controllers/AuthenticationController.php
@@ -266,7 +266,7 @@ class AuthenticationController
                 return $response->withStatus(401)->withJson(['errors' => $authenticated['errors']]);
             }
         } elseif ($loggingMethod['id'] == 'ldap') {
-            $login = strtolower($body['login']);
+            $login = $body['login'];
             if (!AuthenticationController::isUserAuthorized(['login' => $login])) {
                 return $response->withStatus(403)->withJson(['errors' => 'Authentication Failed']);
             }
-- 
GitLab