From b3df65cf33dc84f2d3f56928550e1f7d8cfaefb1 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Mon, 10 Nov 2025 09:01:09 +0000 Subject: [PATCH] remove unused var --- app/controllers/api/account.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 2c44ffeee5..f6c0039571 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -1580,7 +1580,6 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect') $sessionUpgrade = true; } - $sessions = $user->getAttribute('sessions', []); $current = $user->sessionVerify($store->getProperty('secret', ''), $proofForToken); if ($current) { // Delete current session of new one.