made dashboard load

user_id never set so no access possible. Fixed that
This commit is contained in:
sraffauf
2026-01-22 18:02:29 +01:00
parent f24151c21c
commit 9b4a347269

View File

@@ -23,7 +23,7 @@ if (is_array($users)) {
if ($loginOk) {
$_SESSION['loggedIn'] = true;
$_SESSION['username'] = $username;
$_SESSION['user_id'] = $username;
header("Location: ./admin.php");
exit;
} else {