mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-20 08:52:15 +00:00
php cs fixer tweak
This commit is contained in:
@@ -25,8 +25,6 @@ class AuthServiceProvider extends ServiceProvider
|
||||
$this->registerPolicies();
|
||||
|
||||
// Define admin maintenance gate
|
||||
Gate::define('maintenance', function ($user) {
|
||||
return $user->role === 'admin';
|
||||
});
|
||||
Gate::define('maintenance', fn ($user) => $user->role === 'admin');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user