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: saving oauth

Andras Bacsaie822749db35d
diff --git a/app/Livewire/SettingsOauth.php b/app/Livewire/SettingsOauth.php
index 857de1df88..e23f94a73b 100644
--- a/app/Livewire/SettingsOauth.php
+++ b/app/Livewire/SettingsOauth.php
@@ -45,6 +45,10 @@ class SettingsOauth extends Component
}
$oauth->save();
$this->dispatch('success', 'OAuth settings for '.$oauth->provider.' updated successfully!');
+ } else {
+ foreach (array_values($this->oauth_settings_map) as &$setting) {
+ $setting->save();
+ }
}
}
diff --git a/config/constants.php b/config/constants.php
index 8c6c12da49..a8a70235b1 100644
--- a/config/constants.php
+++ b/config/constants.php
@@ -2,7 +2,7 @@
return [
'coolify' => [
- 'version' => '4.0.0-beta.378',
+ 'version' => '4.0.0-beta.379',
'self_hosted' => env('SELF_HOSTED', true),
'autoupdate' => env('AUTOUPDATE'),
'base_config_path' => env('BASE_CONFIG_PATH', '/data/coolify'),
diff --git a/versions.json b/versions.json
index 2d96743f4a..c5f41a4dbb 100644
--- a/versions.json
+++ b/versions.json
@@ -1,10 +1,10 @@
{
"coolify": {
"v4": {
- "version": "4.0.0-beta.378"
+ "version": "4.0.0-beta.379"
},
"nightly": {
- "version": "4.0.0-beta.379"
+ "version": "4.0.0-beta.380"
},
"helper": {
"version": "1.0.4"