mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-23 12:44:12 -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)
|
||||
{
|
||||
Log::debug($section .' is the section');
|
||||
|
||||
|
||||
if (Gate::allows($section)) {
|
||||
return $next($request);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue