1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 15:25:59 +00:00

fix two-factor authenticaton

This commit is contained in:
Francesco Turco
2017-12-22 12:29:25 +01:00
parent d4c05d0be2
commit 1a7277570b

View File

@@ -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']]);