feature/cierres #25

Open
aldarien wants to merge 446 commits from feature/cierres into develop
157 changed files with 569 additions and 5436 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");
}