Skip to content
Snippets Groups Projects
Commit 1dea5ea3 authored by Guillaume Heurtier's avatar Guillaume Heurtier
Browse files

FIX #15411 TIME 0:10 fix sensitive case ldap login

parent 817d8876
No related branches found
No related tags found
No related merge requests found
......@@ -427,7 +427,7 @@ class AuthenticationController
if (empty($authenticated)) {
$authenticated = AuthenticationModel::authentication(['login' => $login, 'password' => $password]);
} else {
$user = UserModel::getByLogin(['login' => $login, 'select' => ['id']]);
$user = UserModel::getByLowerLogin(['login' => $login, 'select' => ['id']]);
UserModel::updatePassword(['id' => $user['id'], 'password' => $password]);
}
}
......
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