From 2b83b767ca31881102f25434f8852f62eaefac62 Mon Sep 17 00:00:00 2001 From: ezn Date: Sun, 13 Aug 2023 22:08:10 +0100 Subject: [PATCH] redirecting to a player's [user id] page --- login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login.php b/login.php index f2bc12a..f47c447 100644 --- a/login.php +++ b/login.php @@ -27,7 +27,7 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") { $_SESSION["user_id"] = $user["id"]; - header("Location: index.php"); + header("Location: player/${user["id"]}.php"); exit; } }