mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Do not allow demo-user to delete other users
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
echo('<div style="margin: 10px;">');
|
echo('<div style="margin: 10px;">');
|
||||||
|
|
||||||
if ($_SESSION['userlevel'] < '10') { include("includes/error-no-perm.inc.php"); } else
|
if ($_SESSION['userlevel'] < 10 || $_SESSION['userlevel'] > 10) { include("includes/error-no-perm.inc.php"); } else
|
||||||
{
|
{
|
||||||
echo("<h3>Delete User</h3>");
|
echo("<h3>Delete User</h3>");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user