mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 04:15:55 +00:00
fix(api): validate token team context
This commit is contained in:
1 parent
4d0be415c8
commit
a511bd9b67
14 files changed
+277
-23
No files matched your search
+1
-1
@@ -4,4 +4,4 @@ use App\Mcp\Servers\CoolifyServer;
|
||||
use Laravel\Mcp\Facades\Mcp;
|
||||
|
||||
Mcp::web('/mcp', CoolifyServer::class)
|
||||
->middleware(['mcp.enabled', 'auth:sanctum']);
|
||||
->middleware(['mcp.enabled', 'auth:sanctum', 'api.token.team']);
|
||||
Reference in new issue
Block a user