Fix the bug where every user is an admin

This commit is contained in:
SilicaAndPina 2021-07-10 18:24:09 +12:00
parent 964a4e879c
commit 0e571700fa
3 changed files with 6 additions and 2 deletions
WebInterface/master-site

View file

@ -1,4 +1,5 @@
<?php
session_start();
include('common.php');
include('crosserver.php');
include('config.php');
@ -9,6 +10,8 @@ if(isset($_GET["LOGOUT"]))
{
if($_GET["LOGOUT"] == 1)
{
$_SESSION['LOGGED_IN'] = "NO";
session_destroy();
}
}