diff --git a/database/migrations/2024_09_26_083441_disable_api_by_default.php b/database/migrations/2024_09_26_083441_disable_api_by_default.php new file mode 100644 index 000000000..d0803f751 --- /dev/null +++ b/database/migrations/2024_09_26_083441_disable_api_by_default.php @@ -0,0 +1,18 @@ +boolean('is_api_enabled')->default(false)->change(); + }); + } +}; diff --git a/resources/views/livewire/security/api-tokens.blade.php b/resources/views/livewire/security/api-tokens.blade.php index a73a9ca1a..3da3a2dbe 100644 --- a/resources/views/livewire/security/api-tokens.blade.php +++ b/resources/views/livewire/security/api-tokens.blade.php @@ -6,7 +6,7 @@

API Tokens

@if (!$instanceSettings->is_api_enabled) - API is disabled. If you want to use API, please enable it in the Instance Settings. + API is disabled. If you want to use the API, please enable it in the Coolify Instance Settings. @else
Tokens are created with the current team as scope. You will only have access to this team's resources.