dont show login form then login is true

This commit is contained in:
Christopher 2020-10-24 00:45:21 +02:00
parent 9505d69a2b
commit 9fcbac8dc1
1 changed files with 10 additions and 0 deletions

View File

@ -1,4 +1,14 @@
<?php
if(isset($_SESSION['LOGIN']))
{
if($_SESSION['LOGIN'] == 'true')
{
include "./pages/dashboard.php";
die();
}
}
if(isset($_POST['do-login']))
{
if(isset($_POST['containername']) || isset($_POST['accesskey']))