From 00e00ff166dcc2da1765b9e53f9f84e0125ce3eb Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Wed, 24 Dec 2025 16:55:13 +0530 Subject: [PATCH] temp-check: force purging cache --- app/controllers/shared/api.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/shared/api.php b/app/controllers/shared/api.php index 83b56f626a..4f1e723c46 100644 --- a/app/controllers/shared/api.php +++ b/app/controllers/shared/api.php @@ -777,6 +777,8 @@ App::shutdown() return; } + // Purge cache to ensure we get fresh session count + $dbForProject->purgeCachedDocument('users', $userId); $user = $dbForProject->getDocument('users', $userId); if ($user->isEmpty()) { return;