remove unused var

This commit is contained in:
Damodar Lohani committed 2025-11-10 09:01:09 +00:00
1 parent 62e5f54fcb
commit b3df65cf33
1 file changed
-1
-1
View File
@@ -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.