Skip to content

Commit

Permalink
Merge pull request #1251 from ladybirdweb/development
Browse files Browse the repository at this point in the history
Laravel and Admin Lte update
  • Loading branch information
Ashutosh pathak authored Aug 28, 2020
2 parents bf4b6ef + 670aa75 commit 346ab32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ protected function unauthenticated($request, AuthenticationException $exception)
return response()->json(['error' => 'Unauthenticated.'], 401);
}

return redirect()->guest(route('login'))->with('fails', 'Your session has expired. Please login');
return redirect()->guest(route('login'));
}
}

0 comments on commit 346ab32

Please sign in to comment.