forked from root/threadr.lostcave.ddnss.de
minor code formatting change (removed an empty line
parent
7eb2cea47a
commit
b5ed47d46d
|
@ -3,7 +3,6 @@ session_start();
|
||||||
$username = $_POST['username'];
|
$username = $_POST['username'];
|
||||||
$password = $_POST['password'];
|
$password = $_POST['password'];
|
||||||
|
|
||||||
|
|
||||||
$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!');
|
||||||
$statement = $pdo->prepare('SELECT id, authentication_algorithm, authentication_salt, authentication_string FROM users WHERE name = :username;');
|
$statement = $pdo->prepare('SELECT id, authentication_algorithm, authentication_salt, authentication_string FROM users WHERE name = :username;');
|
||||||
$result = $statement->execute(array('username' => $username));
|
$result = $statement->execute(array('username' => $username));
|
||||||
|
|
Loading…
Reference in New Issue