mirror of
https://github.com/jakejarvis/spoons.git
synced 2025-06-29 07:55:40 -04:00
fix security flaw -- still prints list after redirect to login page
This commit is contained in:
@ -4,6 +4,7 @@ include_once('config.php');
|
||||
session_start();
|
||||
if(!isset($_SESSION['logged_in']) || $_SESSION['logged_in'] == FALSE) {
|
||||
header("Location:" . $site_url . "/login");
|
||||
die();
|
||||
}
|
||||
|
||||
include_once('functions.php');
|
||||
|
Reference in New Issue
Block a user