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 <ta@TAPC01.localdomain>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
This commit is contained in:
authored and GitHub committed 2023-07-30 05:47:30 -07:00
1 parent acfc60105b
commit 7a99f78ef1
1 file changed
-1
-1
View File
@@ -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]);