diff options
Diffstat (limited to 'Authentication/JWT.php')
-rw-r--r-- | Authentication/JWT.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Authentication/JWT.php b/Authentication/JWT.php index 8791000..161424b 100644 --- a/Authentication/JWT.php +++ b/Authentication/JWT.php @@ -132,7 +132,7 @@ class JWT $header['kid'] = $keyId; } if ( isset($head) && is_array($head) ) { - $header = array_merge($header, $head); + $header = array_merge($head, $header); } $segments = array(); $segments[] = JWT::urlsafeB64Encode(JWT::jsonEncode($header)); |