Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(settings): bind settings resource in advanced options

Andras Bacsaie1b47d0cf00a
diff --git a/database/migrations/2026_05_29_000000_encrypt_application_deployment_configuration_columns.php b/database/migrations/2026_05_29_000000_encrypt_application_deployment_configuration_columns.php
index 19c4445b26..13fe6b6784 100644
--- a/database/migrations/2026_05_29_000000_encrypt_application_deployment_configuration_columns.php
+++ b/database/migrations/2026_05_29_000000_encrypt_application_deployment_configuration_columns.php
@@ -8,6 +8,12 @@ return new class extends Migration
/**
* The configuration snapshot/diff now store an encrypted blob (not valid
* JSON), so the columns must hold arbitrary text instead of json.
+ *
+ * Coolify's own backend runs exclusively on PostgreSQL in production and
+ * SQLite in testing (see config/database.php — the only configured
+ * connections are `pgsql` and `testing`). MySQL/MariaDB are user-managed
+ * resources, never Coolify's application database, so no driver path is
+ * needed for them here.
*/
public function up(): void
{
diff --git a/resources/views/livewire/settings/advanced.blade.php b/resources/views/livewire/settings/advanced.blade.php
index 25a961fb5d..9a8c99854a 100644
--- a/resources/views/livewire/settings/advanced.blade.php
+++ b/resources/views/livewire/settings/advanced.blade.php
@@ -42,7 +42,7 @@
</div>
@endif
<div class="md:w-96">
- <x-forms.checkbox instantSave canGate="update" canResource="$settings"
+ <x-forms.checkbox instantSave canGate="update" :canResource="$settings"
id="disable_registration_when_oauth_enabled"
helper="When enabled, the normal registration page is hidden if at least one OAuth provider is enabled. OAuth providers can still create users if their provider-specific registration option allows it."
label="Disable Registration When OAuth Is Enabled" />