Commit
This commit is contained in:
parent
97f9468cc1
commit
d4649283db
@ -6,7 +6,7 @@ if ((isset($_POST['username'])) && (isset($_POST['password']))) {
|
|||||||
if (($_POST['username'] === 'VG3') && ($_POST['password'] === '3ELDEA')) {
|
if (($_POST['username'] === 'VG3') && ($_POST['password'] === '3ELDEA')) {
|
||||||
$_SESSION['logged_in'] = TRUE;
|
$_SESSION['logged_in'] = TRUE;
|
||||||
$_SESSION['username'] = $_POST['username'];
|
$_SESSION['username'] = $_POST['username'];
|
||||||
$_SESSION['alert'][] = ['info', 'Velkommen '.htmlspecialchars($_SESSION['username']).'!'];
|
$_SESSION['alert'][] = ['info', 'Velkommen '.htmlspecialchars($_SESSION['username'])];
|
||||||
header("Location: index.php");
|
header("Location: index.php");
|
||||||
exit();
|
exit();
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user