feature/cierres #31

Merged
aldarien merged 462 commits from feature/cierres into develop 2025-09-11 17:05:18 -03:00
228 changed files with 760 additions and 10271 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");
}