fixed bugs with old system for views/actions

This commit is contained in:
2025-04-20 17:19:28 -06:00
parent ab30859446
commit 0753e1867c
12 changed files with 61 additions and 6 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ if (isset($_POST['form_id'])) {
if ($msg === true) {
login($_POST['username'], $_POST['password'], false);
header('Location: user.php?action=view&user_id=' . $_SESSION['user_id']);
header('Location: user.php?view=display&user_id=' . $_SESSION['user_id']);
}
break;
case 'login_form':