mirror of
https://github.com/crivion/laranode.git
synced 2026-09-03 06:24:09 +08:00
firewall: middleware in routes not required in controller anymore
This commit is contained in:
@@ -14,10 +14,6 @@ use Inertia\Inertia;
|
||||
|
||||
class FirewallController extends Controller
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$this->middleware(['auth', AdminMiddleware::class]);
|
||||
}
|
||||
|
||||
public function index(): \Inertia\Response
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user