Skip to content

Commit 2f01cb4

Browse files
committed
fixed PHP Fatal error
1 parent cf4a5b5 commit 2f01cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ protected function generateJWT() {
6666
'exp' => time() + 60,
6767
];
6868

69-
return JWT::encode($token, $this->apiSecret);
69+
return JWT::encode($token, $this->apiSecret, 'HS256');
7070
}
7171

7272

0 commit comments

Comments
 (0)