Zhouzhendong %!s(int64=5) %!d(string=hai) anos
pai
achega
de302845d8
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      app/Providers/AuthServiceProvider.php

+ 0 - 3
app/Providers/AuthServiceProvider.php

@@ -40,9 +40,6 @@ class AuthServiceProvider extends ServiceProvider
     public function boot()
     {
         $this->registerPolicies();
-        Gate::before(function ($user) {
-            return true;
-        });
         $isSuperAdmin = null;
         if(!Schema::hasTable('users')){return;}
         /** @var CacheService $cacheService */