Fix: Bypass auth in debug installer for public access

This commit is contained in:
dyzulk
2026-01-08 09:59:11 +07:00
parent c8fa465fbb
commit f62a7db192

View File

@@ -151,7 +151,9 @@ class RootCaApiController extends Controller
public function debugInstaller()
{
$this->authorizeAdminOrOwner();
// Permission check skipped for debugging (Public Route)
// $this->authorizeAdminOrOwner();
try {
$cert = \App\Models\CaCertificate::latest()->first();
if (!$cert) return response()->json(['message' => 'No certs found']);