fix: saving oauth

This commit is contained in:
Andras Bacsai committed 2024-12-13 12:35:57 +01:00
1 parent b6ea36f74e
commit e822749db3
3 files changed
+7 -3

No files matched your search

+4
View File
@@ -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();
}
}
}