Skip to content

Commit eff7db5

Browse files
authored
Update front/example.php
1 parent 8906da5 commit eff7db5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

front/example.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
use GlpiPlugin\Example\Example;
3737

3838
include ('../../../inc/includes.php');
39-
Session::checkLoginUser();
39+
Session::checkRight(Example::$rightname, READ);
4040

4141
if ($_SESSION["glpiactiveprofile"]["interface"] == "central") {
4242
Html::header("TITRE", $_SERVER['PHP_SELF'], "plugins", Example::class, "");

0 commit comments

Comments
 (0)