fix: saving oauth

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

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();
}
}
}