Skip to content

Commit

Permalink
Revert "require admin for any settings action"
Browse files Browse the repository at this point in the history
This reverts commit 68aa582.
  • Loading branch information
i-just committed Dec 9, 2024
1 parent 68aa582 commit 3a9b3fb
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/controllers/SettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,6 @@
*/
class SettingsController extends Controller
{

/**
* @inheritdoc
*/
public function beforeAction($action): bool
{
$this->requireAdmin();

return parent::beforeAction($action);
}

/**
* Display a form to allow an administrator to update plugin's API settings.
*
Expand Down

0 comments on commit 3a9b3fb

Please sign in to comment.