fix two-factor authenticaton
This commit is contained in:
parent
d4c05d0be2
commit
1a7277570b
|
@ -887,7 +887,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||||
|
|
||||||
if ($authenticator->check_password($_SESSION["uid"], $password)) {
|
if ($authenticator->check_password($_SESSION["uid"], $password)) {
|
||||||
|
|
||||||
$sth = $this->pdo->query("SELECT salt
|
$sth = $this->pdo->prepare("SELECT salt
|
||||||
FROM ttrss_users
|
FROM ttrss_users
|
||||||
WHERE id = ?");
|
WHERE id = ?");
|
||||||
$sth->execute([$_SESSION['uid']]);
|
$sth->execute([$_SESSION['uid']]);
|
||||||
|
|
Loading…
Reference in New Issue