Fix: Disable API by default

This commit is contained in:
peaklabs-dev
2024-09-26 10:45:18 +02:00
parent 47920f1191
commit 111e9ba3a3
2 changed files with 19 additions and 1 deletions

View File

@@ -6,7 +6,7 @@
<div class="pb-4 ">
<h2>API Tokens</h2>
@if (!$instanceSettings->is_api_enabled)
<strong>API is disabled. If you want to use API, please enable it in the Instance Settings.</strong>
<strong>API is disabled. If you want to use the API, please enable it in the Coolify Instance Settings.</strong>
@else
<div>Tokens are created with the current team as scope. You will only have access to this team's resources.
</div>