only admin can manage config

This commit is contained in:
Jean-Christian Paul Denis 2021-11-02 23:59:13 +01:00
parent a43e4015cd
commit 9367b25869
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -14,6 +14,9 @@ if (!defined('DC_CONTEXT_MODULE')) {
return null;
}
# Check user perms
dcPage::check('admin');
$redir = empty($_REQUEST['redir']) ?
$list->getURL() . '#plugins' : $_REQUEST['redir'];