Skip to content

Commit

Permalink
Update JwtAuthentication.php
Browse files Browse the repository at this point in the history
Line tuupola#170 is redundant.
  • Loading branch information
jhmoon2000 committed Mar 29, 2022
1 parent 9777345 commit 744e747
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/JwtAuthentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface

/* Modify $request before calling next middleware. */
if (is_callable($this->options["before"])) {
$response = (new ResponseFactory)->createResponse(200);
$beforeRequest = $this->options["before"]($request, $params);
if ($beforeRequest instanceof ServerRequestInterface) {
$request = $beforeRequest;
Expand Down

0 comments on commit 744e747

Please sign in to comment.