From f54ad07bcab600923ce7a419eb5179e527982a87 Mon Sep 17 00:00:00 2001 From: Dangrainage <99558179+Dangrainage@users.noreply.github.com> Date: Fri, 21 Jul 2023 09:31:07 +0200 Subject: [PATCH] Update controller.PHP --- controller.PHP | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller.PHP b/controller.PHP index c9bdf74..0b849c1 100644 --- a/controller.PHP +++ b/controller.PHP @@ -25,7 +25,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['signup'])) { // Check if passwords match if ($password === $confirm_password) { // Redirect to home page if sign-up is successful - header('Location: /'); + header('Location: Redditlike.HTML'); exit; } else { // Display an error message if passwords don't match