Apply fixes from StyleCI
This commit is contained in:

committed by
StyleCI Bot

parent
857d3004eb
commit
88f3df2180
@@ -44,6 +44,7 @@ class Authenticate
|
||||
if ($this->auth->guest()) {
|
||||
if ($request->ajax()) {
|
||||
$result = ['fails' => 'Unauthorized! Please login again'];
|
||||
|
||||
return response()->json(compact('result'));
|
||||
} else {
|
||||
return redirect()->guest('auth/login');
|
||||
|
Reference in New Issue
Block a user