diff --git a/threadr/login/redirect.php b/threadr/login/redirect.php index 78e3394..69f418a 100644 --- a/threadr/login/redirect.php +++ b/threadr/login/redirect.php @@ -5,7 +5,7 @@ $password = $_POST['password']; $pdo = new PDO('mysql:host=localhost;dbname=web', 'webstuff', 'Schei// auf Pa$$w0rter!'); -$statement = $pdo->prepare('SELECT id, name, authentication_algorithm FROM users WHERE name = :username;'); +$statement = $pdo->prepare('SELECT id, name, authentication_algorithm, authentication_string FROM users WHERE name = :username;'); $result = $statement->execute(array('username' => $username)); echo $result; ?>