We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aafb09 commit f786554Copy full SHA for f786554
1 file changed
src/Middleware/Jwt.php
@@ -22,6 +22,11 @@ public function __construct(App $app)
22
23
public function handle($request, \Closure $next, $store = 'admin')
24
{
25
+ // 暂时修复 6.0.3 options 问题
26
+ if ($request->isOptions()) {
27
+ return $next($request);
28
+ }
29
+
30
if (true === $this->app->jwt->store($store)->verify()) {
31
32
$jwt_user = $this->app['jwt.user'];
0 commit comments