diff --git a/src/core/controllers/AuthenticationController.php b/src/core/controllers/AuthenticationController.php index 0997dce52974a5ce4a2034647931ebe119686417..3557559a1639b2ce48458092175ea9a56c3d4abe 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']); }