fix permissions for whitelist reset

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2023-12-07 16:52:21 +01:00
Родитель 587b4091a0
Коммит 619f28557b
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -96,7 +96,6 @@ class SettingsController extends Controller {
* We do not set the whitelist to null when it is unused. This is by design.
* It allows remembering the whitelist throughout changes.
*
* @NoAdminRequired
* @return DataResponse with the current whitelist config
*/
public function getWhitelist(): DataResponse {
@ -111,7 +110,6 @@ class SettingsController extends Controller {
/**
* AJAX handler for resetting the whitelisted apps
*
* @NoAdminRequired
* @return DataResponse with the reset whitelist
*/
public function resetWhitelist(): DataResponse {