Skip to content

Commit 797afa4

Browse files
committed
Fixed LOGIN_REDIRECT:/index.php error.
1 parent 1ba01fe commit 797afa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/lib/classes/auth.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ public function remove_group_from_user($userid,$groupid) {
9494
public function check_module_permissions($module) {
9595
// Check if the current user has the permissions to access this module
9696
if(!stristr($_SESSION["s"]["user"]["modules"],$module)) {
97-
echo "LOGIN_REDIRECT:/index.php";
98-
//header("Location: ../index.php");
97+
// echo "LOGIN_REDIRECT:/index.php";
98+
header("Location: /index.php");
9999
exit;
100100
}
101101
}

0 commit comments

Comments
 (0)