mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
Removed debugging loggin in middleware
This commit is contained in:
parent
87352470c0
commit
416cd96c94
|
@ -23,8 +23,7 @@ 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