From d4649283db4baa1683ec57993fa83359dee987c3 Mon Sep 17 00:00:00 2001 From: William Date: Mon, 11 Oct 2021 11:09:44 +0200 Subject: [PATCH] Commit --- login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login.php b/login.php index 17e30ce..de1f65c 100644 --- a/login.php +++ b/login.php @@ -6,7 +6,7 @@ if ((isset($_POST['username'])) && (isset($_POST['password']))) { if (($_POST['username'] === 'VG3') && ($_POST['password'] === '3ELDEA')) { $_SESSION['logged_in'] = TRUE; $_SESSION['username'] = $_POST['username']; - $_SESSION['alert'][] = ['info', 'Velkommen '.htmlspecialchars($_SESSION['username']).'!']; + $_SESSION['alert'][] = ['info', 'Velkommen '.htmlspecialchars($_SESSION['username'])]; header("Location: index.php"); exit(); } else {