From f3cb6ad436b51f0acc703ad131c68be875789fd1 Mon Sep 17 00:00:00 2001 From: Grisu Date: Wed, 8 Jun 2022 11:38:45 +0200 Subject: [PATCH] minor fixes --- app/public/html/header.html | 2 +- app/public/login.php | 2 +- app/scripts/functions.php | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/public/html/header.html b/app/public/html/header.html index fb060ee..631c05e 100644 --- a/app/public/html/header.html +++ b/app/public/html/header.html @@ -1,5 +1,5 @@ - + Punktesystem diff --git a/app/public/login.php b/app/public/login.php index 5c6daea..7106361 100644 --- a/app/public/login.php +++ b/app/public/login.php @@ -34,7 +34,7 @@


-

+



diff --git a/app/scripts/functions.php b/app/scripts/functions.php index 98aec26..88ec2da 100644 --- a/app/scripts/functions.php +++ b/app/scripts/functions.php @@ -10,6 +10,7 @@ function check_login($con) { if(check_user_id($con, $id)) { return get_user_data_id($con, $id); } else { + unset($_SESSION['user_id']); header("Location: login.php"); die; }