Removed debugging loggin in middleware
This commit is contained in:
parent
87352470c0
commit
416cd96c94
1 changed files with 1 additions and 2 deletions
|
@ -23,7 +23,6 @@ class CheckPermissions
|
||||||
*/
|
*/
|
||||||
public function handle($request, Closure $next, $section = null)
|
public function handle($request, Closure $next, $section = null)
|
||||||
{
|
{
|
||||||
Log::debug($section .' is the section');
|
|
||||||
|
|
||||||
if (Gate::allows($section)) {
|
if (Gate::allows($section)) {
|
||||||
return $next($request);
|
return $next($request);
|
||||||
|
|
Loading…
Add table
Reference in a new issue