mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
Updated to support a demo user
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
if ($_SESSION['userlevel'] == '10')
|
||||
if ($_SESSION['userlevel'] >= '10')
|
||||
{
|
||||
if(empty($_POST['token'])) {
|
||||
$_POST['token'] = bin2hex(openssl_random_pseudo_bytes(16));
|
||||
|
||||
Reference in New Issue
Block a user