From 5e5b22d64945708fc0b860cccb7d97dc6a12031c Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Sun, 12 Oct 2025 04:38:14 +0000 Subject: [PATCH] fix jwt --- app/controllers/api/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 2b91c46254..bd69350500 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -2823,7 +2823,7 @@ App::post('/v1/account/jwts') ->dynamic(new Document([ 'jwt' => $jwt->encode([ 'userId' => $user->getId(), - 'sessionId' => $current->getId(), + 'sessionId' => $sessionId, ]) ]), Response::MODEL_JWT); });