From 1b181ea3b1b0e49609a5721169eedbb799692c0d Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Sun, 23 Feb 2020 21:44:26 +0100 Subject: [PATCH] removed a file for plans that were scrapped --- threadr/signup/redirect.php | 51 ------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 threadr/signup/redirect.php diff --git a/threadr/signup/redirect.php b/threadr/signup/redirect.php deleted file mode 100644 index 5bfefef..0000000 --- a/threadr/signup/redirect.php +++ /dev/null @@ -1,51 +0,0 @@ -prepare('INSERT INTO users (name, authentication_string, authentication_salt, authentication_algorithm) VALUES (:name, :authentication_string, :authentication_salt, :authentication_algorithm)'); - //$result = $statement->execute(array('name' => $_POST['name'], 'authentication_string' => hash($password_hash_method, $_POST['password'] . $random_salt), 'authentication_salt' => $random_salt, 'authentication_algorithm' => $password_hash_method)); - if (!$result) { - $error_message = "Error: SQL error.\n" . $statement->queryString . "\n" . $statement->errorInfo()[2]; - } - } - //You know, just in case... (To be removed after proper error handling is in place) - //echo $error_message; -?> - - -