From eff7db51b2217bd002e57da98e857135e22c6001 Mon Sep 17 00:00:00 2001 From: Stanislas Date: Mon, 5 May 2025 14:40:26 +0200 Subject: [PATCH] Update front/example.php --- front/example.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/example.php b/front/example.php index 8178092..64def29 100644 --- a/front/example.php +++ b/front/example.php @@ -36,7 +36,7 @@ use GlpiPlugin\Example\Example; include ('../../../inc/includes.php'); -Session::checkLoginUser(); +Session::checkRight(Example::$rightname, READ); if ($_SESSION["glpiactiveprofile"]["interface"] == "central") { Html::header("TITRE", $_SERVER['PHP_SELF'], "plugins", Example::class, "");