Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f5f87da

Browse files
authored
Solve syntax error: Remove extra ')'
1 parent 8471e68 commit f5f87da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎decode-header.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
$token = $headers["Authorization"];
1515
// Remove "Bearer " at first of TOKEN
16-
$token = substr($a, 7)); // strlen("Bearer ") = 7
16+
$token = substr($a, 7); // strlen("Bearer ") = 7
1717

1818
try {
1919
$decode = JWT::decode($token, $key, array('HS256'));

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /