Added check_login to plugin registration
This commit is contained in:
parent
2e4b320861
commit
2f8cdb5ea5
|
@ -16,6 +16,8 @@
|
||||||
|
|
||||||
function pluginreg_extension_main () {
|
function pluginreg_extension_main () {
|
||||||
global $config;
|
global $config;
|
||||||
|
|
||||||
|
check_login();
|
||||||
|
|
||||||
if (! check_acl ($config['id_user'], 0, "PM") && ! is_user_admin ($config['id_user'])) {
|
if (! check_acl ($config['id_user'], 0, "PM") && ! is_user_admin ($config['id_user'])) {
|
||||||
db_pandora_audit("ACL Violation", "Trying to access Setup Management");
|
db_pandora_audit("ACL Violation", "Trying to access Setup Management");
|
||||||
|
|
Loading…
Reference in New Issue