From 28f7b92ad37e7eaec5011b8d9076c1d3ed939055 Mon Sep 17 00:00:00 2001
From: chonk
Error: Password confirmation does not match password.
"; - } - if (!$error) { - $statement = $pdo->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.
" . $statement->queryString . "
" . $statement->errorInfo()[2] . ""; - } - } - } - } -?> - - - -
User ID | Name | Authentication algorithm |
".$row['id']." | ".$row['name']." | ".$row['authentication_algorithm']." |