From 44871b044a4318456bb9d852e5cc6de06f22bdcc Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Sun, 5 Dec 2021 00:59:40 +0000 Subject: [PATCH] Fix old links in register.php to point to correct script --- Rocksolid_Light/common/register.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Rocksolid_Light/common/register.php b/Rocksolid_Light/common/register.php index afc2aea..9df4067 100644 --- a/Rocksolid_Light/common/register.php +++ b/Rocksolid_Light/common/register.php @@ -145,13 +145,13 @@ $keyFilename = $keypath.$username; # Check all input if (empty($_POST['username'])) { echo "Please enter a Username\r\n"; - echo '
Back'; + echo '
Back'; exit(2); } if ($_POST['password'] !== $_POST['password2']) { echo "Your passwords entered do not match\r\n"; - echo '
Back'; + echo '
Back'; exit(2); } @@ -169,7 +169,7 @@ foreach($users as $user) { if(stripos($buffer, $user_email) !== FALSE) { fclose($userFileHandle); echo "Email exists in database\r\n"; - echo '
Back'; + echo '
Back'; exit(2); } } @@ -180,7 +180,7 @@ foreach($users as $user) { if (!preg_match("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$^",$user_email)) { echo "Email must be in the form of an email address\r\n"; - echo '
Back'; + echo '
Back'; exit(2); } @@ -190,7 +190,7 @@ if (($userFileHandle = @fopen($userFilename, 'r')) || (get_config_value('aliases if ($command == "Create") { echo "User:".$thisusername." Already Exists\r\n"; - echo '
Back'; + echo '
Back'; exit(2); } $userFileInfo = fread($userFileHandle, filesize($userFilename));