Skip to content
Snippets Groups Projects
Verified Commit 593bb1ac authored by Damien's avatar Damien
Browse files

FEAT #15411 TIME 1:00 Ldap case connection

parent 167c67d1
No related branches found
No related tags found
No related merge requests found
......@@ -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']);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment