mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Removed debugging loggin in middleware
This commit is contained in:
parent
87352470c0
commit
416cd96c94
|
@ -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…
Reference in a new issue