diff --git a/includes/pages/login.php b/includes/pages/login.php index 6f0e9bb1..9e53d7d4 100644 --- a/includes/pages/login.php +++ b/includes/pages/login.php @@ -21,7 +21,7 @@ if (isset($_POST['email'], $_POST['password'])) { } if (isset($_SESSION['user'])) { - header('Location: ?page=home'); + header('Location: /?page=home'); die(); }