dont show login form then login is true
This commit is contained in:
parent
9505d69a2b
commit
9fcbac8dc1
|
@ -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']))
|
||||
|
|
Loading…
Reference in New Issue