I hate semicolons.

master
LinuxMint4Ever 2020-01-03 16:55:04 +01:00
parent 1380628215
commit f056f7acd7
1 changed files with 2 additions and 2 deletions

View File

@ -12,10 +12,10 @@
} }
$random_salt = generate_salt($permitted_chars); $random_salt = generate_salt($permitted_chars);
$password_hash_method = "sha256" $password_hash_method = "sha256";
$pdo = new PDO('mysql:host=localhost;dbname=web', 'webstuff', 'Schei// auf Pa$$w0rter!'); $pdo = new PDO('mysql:host=localhost;dbname=web', 'webstuff', 'Schei// auf Pa$$w0rter!');
$query = "SELECT id, name, authentication_algorithm FROM users;" $query = "SELECT id, name, authentication_algorithm FROM users;";
if (isset($_GET['action'])) { if (isset($_GET['action'])) {
if ($_GET['action']=='add') { if ($_GET['action']=='add') {