We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92fc52f commit 98c8012Copy full SHA for 98c8012
src/Security/JWT.php
@@ -53,7 +53,7 @@ public static function payload(string $token, string $secret): array
53
public static function verify(string $token, string $secret): bool
54
{
55
$peaces = explode('.', $token);
56
- if (count($peaces) > 3) {
+ if (count($peaces) < 3) {
57
return false;
58
}
59
$header = $peaces[0];
0 commit comments