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
Update app/Livewire/SettingsOauth.php
Andras Bacsai8a3dc19d19df
diff --git a/app/Livewire/SettingsOauth.php b/app/Livewire/SettingsOauth.phpindex f17730a101..77d3b36fc1 100644--- a/app/Livewire/SettingsOauth.php+++ b/app/Livewire/SettingsOauth.php@@ -50,6 +50,10 @@ class SettingsOauth extends Component$oauthData = $this->oauth_settings_map[$provider];$oauth = OauthSetting::find($oauthData['id']);+ if (!$oauth) {+ throw new \Exception('OAuth setting for '.$provider.' not found. It may have been deleted.');+ }+$oauth->fill(['enabled' => $oauthData['enabled'],'client_id' => $oauthData['client_id'],