Address LaySite 1.4.5 editor and release review suggestions

This commit is contained in:
2026-11-27 22:14:02 +08:00
parent 00e8a70e06
commit 074591d34f
16 changed files with 159 additions and 48 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ final class McpController
return new Response(503, ['Cache-Control' => 'no-store']);
}
$secret = $settings['token'];
if ($settings['enabled'] && $secret === null) {
if ($settings['migrationRequired'] || ($settings['enabled'] && $secret === null)) {
return new Response(503, ['Cache-Control' => 'no-store']);
}
$header = $request->header('authorization', '');