We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eef716 commit 2679c14Copy full SHA for 2679c14
src/Middleware/ValidationMiddleware.php
@@ -99,7 +99,7 @@ protected function handleUnauthorizedException(UnauthorizedException $exception)
99
100
protected function shouldHandle(Dispatched $dispatched): bool
101
{
102
- return $dispatched->status === Dispatcher::FOUND || ! $dispatched->handler->callback instanceof Closure;
+ return $dispatched->status === Dispatcher::FOUND && ! $dispatched->handler->callback instanceof Closure;
103
}
104
105
/**
0 commit comments