From 879d365baf32eeb40fed3f480fbbf9d9b83e1b4b Mon Sep 17 00:00:00 2001 From: Juan Pablo Vial Date: Tue, 3 Jun 2025 19:42:23 -0400 Subject: [PATCH] Not needed --- app/src/Controller/API/Login.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/src/Controller/API/Login.php b/app/src/Controller/API/Login.php index 24d85b5..3c0bad8 100644 --- a/app/src/Controller/API/Login.php +++ b/app/src/Controller/API/Login.php @@ -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"); }