mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
update dependencies basic
This commit is contained in:
@@ -55,9 +55,9 @@ class Handler extends ExceptionHandler
|
||||
});
|
||||
|
||||
//Other Only handle in json request
|
||||
if (!request()->expectsJson()) {
|
||||
return;
|
||||
}
|
||||
// if (!request()->expectsJson()) {
|
||||
// return;
|
||||
// }
|
||||
|
||||
$this->renderable(function (AuthenticationException $e) {
|
||||
return response()->json(fail($e->getMessage(), ['guards' => $e->guards()]), 401);
|
||||
|
||||
Reference in New Issue
Block a user