Skip to content

Commit d9dbb8c

Browse files
committed
Fix: front/ check
1 parent 66b0749 commit d9dbb8c

6 files changed

Lines changed: 6 additions & 0 deletions

ajax/container.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
*/
3030

3131
include('../../../inc/includes.php');
32+
Session::checkLoginUser();
3233

3334
use Glpi\Http\Response;
3435

ajax/container_display_condition.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
*/
3030

3131
include('../../../inc/includes.php');
32+
Session::checkLoginUser();
3233

3334
if (isset($_GET['action'])) {
3435
if ($_GET['action'] === 'get_add_form') {

ajax/container_itemtypes_dropdown.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@
2929
*/
3030

3131
include('../../../inc/includes.php');
32+
Session::checkLoginUser();
3233

3334
PluginFieldsContainer::showFormItemtype($_REQUEST);

ajax/container_subtype_dropdown.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@
2929
*/
3030

3131
include('../../../inc/includes.php');
32+
Session::checkLoginUser();
3233

3334
PluginFieldsContainer::showFormSubtype($_REQUEST, true);

ajax/reorder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
*/
3030

3131
include('../../../inc/includes.php');
32+
Session::checkLoginUser();
3233

3334
if (
3435
!array_key_exists('container_id', $_POST)

ajax/status_override.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
*/
3030

3131
include('../../../inc/includes.php');
32+
Session::checkLoginUser();
3233

3334
if (isset($_GET['action'])) {
3435
if ($_GET['action'] === 'get_status_dropdown') {

0 commit comments

Comments
 (0)