From 0800fc1066fd93cfe1e6f9a11c4788e0e76c9864 Mon Sep 17 00:00:00 2001 From: Ramon Gutierrez Date: Tue, 29 Oct 2024 17:22:29 +0800 Subject: [PATCH] Update session timestamp on every action #799 --- src/Controller/CustomerAppAPI/ApiController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Controller/CustomerAppAPI/ApiController.php b/src/Controller/CustomerAppAPI/ApiController.php index 635a3c45..30a4ccbf 100644 --- a/src/Controller/CustomerAppAPI/ApiController.php +++ b/src/Controller/CustomerAppAPI/ApiController.php @@ -180,6 +180,8 @@ class ApiController extends BaseApiController protected function updateSessionTimestamp() { + error_log('Updating session timestamp'); + error_log('Session ID: '. $this->session->getID()); $this->session->setDateLatestActivity(new DateTime()); $this->em->flush(); }