Commit 1a727757 authored by Francesco Turco's avatar Francesco Turco

fix two-factor authenticaton

parent d4c05d0b
......@@ -887,7 +887,7 @@ class Pref_Prefs extends Handler_Protected {
if ($authenticator->check_password($_SESSION["uid"], $password)) {
$sth = $this->pdo->query("SELECT salt
$sth = $this->pdo->prepare("SELECT salt
FROM ttrss_users
WHERE id = ?");
$sth->execute([$_SESSION['uid']]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment