diff --git a/threadr/login/redirect.php b/threadr/login/redirect.php index a7d53a3..0975006 100644 --- a/threadr/login/redirect.php +++ b/threadr/login/redirect.php @@ -3,7 +3,6 @@ session_start(); $username = $_POST['username']; $password = $_POST['password']; - $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;'); $result = $statement->execute(array('username' => $username));