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(ui): remove unused mode for MongoDB

peaklabs-dev6b6a9f57f34a
diff --git a/app/Livewire/Project/Database/Mongodb/General.php b/app/Livewire/Project/Database/Mongodb/General.php
index 08d45a4ee8..526aae9eaf 100644
--- a/app/Livewire/Project/Database/Mongodb/General.php
+++ b/app/Livewire/Project/Database/Mongodb/General.php
@@ -39,7 +39,7 @@ class General extends Component
'database.is_log_drain_enabled' => 'nullable|boolean',
'database.custom_docker_run_options' => 'nullable',
'database.enable_ssl' => 'boolean',
- 'database.ssl_mode' => 'nullable|string|in:allow,prefer,require,verify-ca,verify-full',
+ 'database.ssl_mode' => 'nullable|string|in:allow,prefer,require,verify-full',
];
protected $validationAttributes = [
diff --git a/resources/views/livewire/project/database/mongodb/general.blade.php b/resources/views/livewire/project/database/mongodb/general.blade.php
index c2dcea140c..b060bca547 100644
--- a/resources/views/livewire/project/database/mongodb/general.blade.php
+++ b/resources/views/livewire/project/database/mongodb/general.blade.php
@@ -95,7 +95,6 @@
<option value="allow">allow</option>
<option value="prefer">prefer</option>
<option value="require">require</option>
- <option value="verify-ca">verify-ca</option>
<option value="verify-full">verify-full</option>
</x-forms.select>
@endif