mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
init user session on dashboard page
This commit is contained in:
parent
82a4860e0c
commit
ffa568275f
1 changed files with 6 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue