From 3b1a3dee9a268edeeefa5c295d412f6c38cbe6a8 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 27 Aug 2025 14:06:10 +0200 Subject: [PATCH] Added log action --- src/Controller/UserController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Controller/UserController.php b/src/Controller/UserController.php index b5976e5..007be43 100644 --- a/src/Controller/UserController.php +++ b/src/Controller/UserController.php @@ -25,7 +25,6 @@ class UserController extends AbstractController private const ACCESS_DENIED = 'Access denied'; public function __construct( - private readonly UserOrganizationService $userOrganizationService, private readonly EntityManagerInterface $entityManager, private readonly UserService $userService, private readonly ActionService $actionService, private readonly UserOrganizationAppService $userOrganizationAppService, @@ -92,7 +91,7 @@ class UserController extends AbstractController } $uoa = $this->entityManager->getRepository(UserOrganizatonApp::class)->findBy(['userOrganization'=> $uo, 'isActive' => true]); $uoa = $this->userOrganizationAppService->groupUserOrganizationAppsByApplication($uoa); - dd($uoa, $orgs["name"]); + $this->actionService->createAction("View user information", $user, null, $user->getUserIdentifier()); }catch(\Exception $e){ //ignore }