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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
feat: use encryption in instance settings model
peaklabs-devd3ce6d814c4a
diff --git a/app/Models/InstanceSettings.php b/app/Models/InstanceSettings.phpindex 7110b8cff9..5b89bb401c 100644--- a/app/Models/InstanceSettings.php+++ b/app/Models/InstanceSettings.php@@ -16,7 +16,19 @@ class InstanceSettings extends Model implements SendsEmailprotected $guarded = [];protected $casts = [+ 'smtp_enabled' => 'boolean',+ 'smtp_from_address' => 'encrypted',+ 'smtp_from_name' => 'encrypted',+ 'smtp_recipients' => 'encrypted',+ 'smtp_host' => 'encrypted',+ 'smtp_port' => 'integer',+ 'smtp_username' => 'encrypted','smtp_password' => 'encrypted',+ 'smtp_timeout' => 'integer',++ 'resend_enabled' => 'boolean',+ 'resend_api_key' => 'encrypted',+'allowed_ip_ranges' => 'array','is_auto_update_enabled' => 'boolean','auto_update_frequency' => 'string',