Skip to content

Commit 5b86d6f

Browse files
committed
Require full authentication for the system settings, as some of the settings are quite critical
1 parent 58a34e3 commit 5b86d6f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Controller/SettingsController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public function __construct(private readonly SettingsManagerInterface $settingsM
4444
public function systemSettings(Request $request, TagAwareCacheInterface $cache): Response
4545
{
4646
$this->denyAccessUnlessGranted('@config.change_system_settings');
47+
$this->denyAccessUnlessGranted('IS_AUTHENTICATED_FULLY');
4748

4849
//Create a clone of the settings object
4950
$settings = $this->settingsManager->createTemporaryCopy(AppSettings::class);

0 commit comments

Comments
 (0)