mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Merge pull request #1151 from f0o/issue-1150
Do not allow demo-user to delete other users
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
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>");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user