From 55a2a67b8d348f89b0157522ae0e70e63934d9fb Mon Sep 17 00:00:00 2001 From: Deon George Date: Sat, 26 Nov 2022 06:54:24 +0700 Subject: [PATCH] Auth is now controlled by routing --- app/Http/Controllers/DomainController.php | 5 ----- app/Http/Controllers/EchoareaController.php | 5 ----- app/Http/Controllers/FileareaController.php | 5 ----- app/Http/Controllers/SystemController.php | 5 ----- app/Http/Controllers/ZoneController.php | 5 ----- 5 files changed, 25 deletions(-) diff --git a/app/Http/Controllers/DomainController.php b/app/Http/Controllers/DomainController.php index 14d1440..3dca424 100644 --- a/app/Http/Controllers/DomainController.php +++ b/app/Http/Controllers/DomainController.php @@ -12,11 +12,6 @@ class DomainController extends Controller // http://ftsc.org/docs/frl-1002.001 public const NUMBER_MAX = 0x7fff; - public function __construct() - { - $this->middleware('auth'); - } - /** * Add or edit a domain */ diff --git a/app/Http/Controllers/EchoareaController.php b/app/Http/Controllers/EchoareaController.php index 1e38076..9099a13 100644 --- a/app/Http/Controllers/EchoareaController.php +++ b/app/Http/Controllers/EchoareaController.php @@ -8,11 +8,6 @@ use App\Models\Echoarea; class EchoareaController extends Controller { - public function __construct() - { - $this->middleware('auth'); - } - /** * Add or edit a echoarea */ diff --git a/app/Http/Controllers/FileareaController.php b/app/Http/Controllers/FileareaController.php index 93d1a6d..0e9c79d 100644 --- a/app/Http/Controllers/FileareaController.php +++ b/app/Http/Controllers/FileareaController.php @@ -7,11 +7,6 @@ use Illuminate\Http\Request; class FileareaController extends Controller { - public function __construct() - { - $this->middleware('auth'); - } - /** * Add or edit a echoarea */ diff --git a/app/Http/Controllers/SystemController.php b/app/Http/Controllers/SystemController.php index beb88b3..d8426ee 100644 --- a/app/Http/Controllers/SystemController.php +++ b/app/Http/Controllers/SystemController.php @@ -18,11 +18,6 @@ use App\Rules\{FidoInteger,TwoByteInteger}; class SystemController extends Controller { - public function __construct() - { - $this->middleware('auth'); - } - /** * Add an address to a system * diff --git a/app/Http/Controllers/ZoneController.php b/app/Http/Controllers/ZoneController.php index a7f20ca..95dba63 100644 --- a/app/Http/Controllers/ZoneController.php +++ b/app/Http/Controllers/ZoneController.php @@ -9,11 +9,6 @@ use App\Models\{Address,Zone}; class ZoneController extends Controller { - public function __construct() - { - $this->middleware('auth'); - } - /** * Add or edit a node */