init user session on dashboard page

This commit is contained in:
ghost 2023-10-05 00:12:48 +03:00
parent 82a4860e0c
commit ffa568275f

View File

@ -40,6 +40,12 @@ class UserController extends AbstractController
TimeService $timeService
): Response
{
// Init user session
$userService->init(
$request->getClientIp()
);
// Build activity history
$activities = [];
foreach ($userService->getAllByAddedFieldDesc() as $user)
{