From 4a93e2a5419ceb56db20ca8bd7c9f7bcd9ea58af Mon Sep 17 00:00:00 2001
From: Mario <100047175+Mariopizza1@users.noreply.github.com>
Date: Wed, 25 Jan 2023 22:06:20 +0200
Subject: [PATCH] im gonna marry christmas after im done commiting shit
---
login.php | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/login.php b/login.php
index 5d38c10..1b1d326 100644
--- a/login.php
+++ b/login.php
@@ -1,13 +1,17 @@
+grublock | login
buildloggedoutheader();
+$getitstarted->header();
$passwordiswrong = false;
$user = new User($con, 0);
if(isset($_POST['submit'])) {
@@ -23,7 +27,6 @@ if(isset($_POST['submit'])) {
if ($result > 0) {
if ($password == $user->getPassword($con, $username)) {
$_SESSION["user"] = $user->getID($con, $username);
- header("Location: /home");
} else {
$passwordiswrong = true;
echo $password." - sex - ".$user->getPassword($con, $username);
@@ -63,4 +66,4 @@ echo "form-control form-control-sm";
-
\ No newline at end of file
+