mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-09 22:47:58 +00:00
init user session on dashboard page
This commit is contained in:
parent
82a4860e0c
commit
ffa568275f
@ -40,6 +40,12 @@ class UserController extends AbstractController
|
|||||||
TimeService $timeService
|
TimeService $timeService
|
||||||
): Response
|
): Response
|
||||||
{
|
{
|
||||||
|
// Init user session
|
||||||
|
$userService->init(
|
||||||
|
$request->getClientIp()
|
||||||
|
);
|
||||||
|
|
||||||
|
// Build activity history
|
||||||
$activities = [];
|
$activities = [];
|
||||||
foreach ($userService->getAllByAddedFieldDesc() as $user)
|
foreach ($userService->getAllByAddedFieldDesc() as $user)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user