1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-22 11:36:38 +02:00

Merge branch 'otp' of fturco/tt-rss into master

This commit is contained in:
fox 2017-12-22 15:00:32 +00:00 committed by Gogs
commit bb0a8e323e

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