Commit 02274da8 authored by Taylor Otwell's avatar Taylor Otwell

code formatting

parent e3bd984b
...@@ -20,7 +20,8 @@ class Authenticate ...@@ -20,7 +20,8 @@ class Authenticate
if (Auth::guard($guard)->guest()) { if (Auth::guard($guard)->guest()) {
if ($request->ajax() || $request->wantsJson()) { if ($request->ajax() || $request->wantsJson()) {
return response('Unauthorized.', 401); return response('Unauthorized.', 401);
} }
return redirect()->guest('login'); return redirect()->guest('login');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment