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; }