Revert change to example code
This commit is contained in:
parent
e3fc0bbe7d
commit
26b38f07e2
|
@ -365,8 +365,7 @@ You may also use HTTP Basic Authentication without setting a user identifier coo
|
|||
*/
|
||||
public function handle($request, $next)
|
||||
{
|
||||
Auth::onceBasic();
|
||||
return $next($request);
|
||||
return Auth::onceBasic() ?: $next($request);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue