diff --git a/src/provider/JWT.php b/src/provider/JWT.php index c12e725..b2acac7 100644 --- a/src/provider/JWT.php +++ b/src/provider/JWT.php @@ -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.') ?? []);