Skip to content

Commit 02274da

Browse files
committed
code formatting
1 parent e3bd984 commit 02274da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/Http/Middleware/Authenticate.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ public function handle($request, Closure $next, $guard = null)
2020
if (Auth::guard($guard)->guest()) {
2121
if ($request->ajax() || $request->wantsJson()) {
2222
return response('Unauthorized.', 401);
23-
}
23+
}
24+
2425
return redirect()->guest('login');
2526
}
2627

0 commit comments

Comments
 (0)