Skip to content

Commit

Permalink
Update JWT.php
Browse files Browse the repository at this point in the history
  • Loading branch information
chumoe authored Jul 31, 2023
1 parent 58b20fd commit 65c3df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/provider/JWT.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function __construct(Request $request)
{
$this->request = $request;
$config = require __DIR__ . '/../../config/config.php';
if (strpos(App::VERSION, '6.') === 0) {
if (strpos(App::VERSION, '6.') === 0 || strpos(App::VERSION, '8.') === 0) {
$this->config = array_merge($config, Config::get('jwt') ?? []);
} else {
$this->config = array_merge($config, Config::get('jwt.') ?? []);
Expand Down

0 comments on commit 65c3df8

Please sign in to comment.