From 7a99f78ef1b2143fa155c088891300a74d47bf66 Mon Sep 17 00:00:00 2001 From: Christoph Schlaepfer <1939311+Anuril@users.noreply.github.com> Date: Sun, 30 Jul 2023 14:47:30 +0200 Subject: [PATCH] Remove incorrect login info from onEventAdminLoginFailed (#1495) * Small security fix that removes the cleartext password from log files and the "onEventAdminLoginFailed" event * Do it better and less wrong --------- Co-authored-by: Anuril Co-authored-by: Belle Aerni --- src/modules/Staff/Service.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/Staff/Service.php b/src/modules/Staff/Service.php index a6728f4dd..53119bc29 100644 --- a/src/modules/Staff/Service.php +++ b/src/modules/Staff/Service.php @@ -30,7 +30,6 @@ class Service implements InjectionAwareInterface { $event_params = []; $event_params['email'] = $email; - $event_params['password'] = $password; $event_params['ip'] = $ip; $this->di['events_manager']->fire(['event' => 'onBeforeAdminLogin', 'params' => $event_params]);