feature/cierres #30

Merged
aldarien merged 460 commits from feature/cierres into develop 2025-09-11 15:16:17 -03:00
174 changed files with 590 additions and 6485 deletions
Showing only changes of commit 879d365baf - Show all commits

View File

@ -25,12 +25,6 @@ class Login extends Ideal\Controller
$statusCode = 409;
try {
$user = $userRepository->fetchByName($body['username']);
$this->logger->info('Login', [
'username' => $body['username'],
'password' => $body['password'],
'supplied_hash' => password_hash($body['password'], PASSWORD_DEFAULT),
'password_hash' => $user->password
]);
if (!$user->validate($body['password'])) {
throw new EmptyResult("Invalid password");
}