@@ -10,7 +10,7 @@ |
||
| 10 | 10 | |
| 11 | 11 | public function handle($request, Closure $next) |
| 12 | 12 | { |
| 13 | - if(!AuthFacade::checkIsAdmin(auth()->user()->id)){ |
|
| 13 | + if (!AuthFacade::checkIsAdmin(auth()->user()->id)) { |
|
| 14 | 14 | return redirect(config('easy_panel.redirect_unauthorized')); |
| 15 | 15 | } |
| 16 | 16 | |