Skip to content

Commit

Permalink
hotfix: realise 3.23.0 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DEMAxx committed Oct 16, 2024
1 parent 96b5d5f commit d9c09f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers/CoreTokenStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private static function getBaseUrlFromToken(string $token): ?string
{
$arToken = explode('.', $token);

return json_decode(base64_decode($arToken[2]), true, 512, JSON_THROW_ON_ERROR)['endpoint'] ?? null;
return json_decode(base64_decode(count($arToken) - 1), true, 512, JSON_THROW_ON_ERROR)['endpoint'] ?? null;
}

/**
Expand Down

0 comments on commit d9c09f0

Please sign in to comment.