Commit 7aceea90 authored by lionel.marie-louise's avatar lionel.marie-louise
Browse files

Correction #17505

parent 69b09a8f
......@@ -1585,7 +1585,9 @@ class UserController
return $response->withStatus(400)->withJson(['errors' => 'Body login is empty']);
}
$user = UserModel::getByLogin(['select' => ['id', 'mail'], 'login' => strtolower($body['login'])]);
#SGAMI-SO DBT
$user = UserModel::getByLogin(['select' => ['id', 'mail'], 'login' => /*strtolower*/($body['login'])]);
#SGAMI-SO FIN
if (empty($user)) {
return $response->withStatus(204);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment