diff --git a/backend/operations/UserAuth.php b/backend/operations/UserAuth.php index 518a733..6d09d9a 100644 --- a/backend/operations/UserAuth.php +++ b/backend/operations/UserAuth.php @@ -124,7 +124,7 @@ class UserAuth $query = $this->db->prepare('SELECT id FROM users WHERE name=:name AND backend=:backend'); $query->bindValue(':name', $username, \PDO::PARAM_STR); - $query->bindValue(':backend', $backend); + $query->bindValue(':backend', $backend, \PDO::PARAM_STR); $query->execute(); $record = $query->fetch();