diff --git a/app/Http/Middleware/Authorize.php b/app/Http/Middleware/Authorize.php index 63b6d4e8..ecd8172f 100644 --- a/app/Http/Middleware/Authorize.php +++ b/app/Http/Middleware/Authorize.php @@ -14,7 +14,7 @@ class Authorize * @param \Closure $next * @return mixed */ - public function handle($request, Closure $next, $role,$role2,$role3 = "-1") + public function handle($request, Closure $next, $role,$role2="-1",$role3 = "-1") { if(Auth::user()->hasRole($role,$role2,$role3)){ return $next($request);