diff --git a/app/Listeners/User/UpdateUserLastLogin.php b/app/Listeners/User/UpdateUserLastLogin.php index e6f10fabff57..c8d33cdd011d 100644 --- a/app/Listeners/User/UpdateUserLastLogin.php +++ b/app/Listeners/User/UpdateUserLastLogin.php @@ -74,7 +74,7 @@ class UpdateUserLastLogin implements ShouldQueue SystemLog::CATEGORY_SECURITY, SystemLog::EVENT_USER, SystemLog::TYPE_LOGIN_SUCCESS, - $event->company->clients()->first(), + null, $event->company, );