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