From 2d1391a02bce26f8a05ea4c5b25f87df89254721 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 1 Mar 2021 15:50:41 +0300 Subject: [PATCH] come to think of it, we don't need it at all --- plugins/auth_internal/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/auth_internal/init.php b/plugins/auth_internal/init.php index 277ed3a8d..b0596eed6 100644 --- a/plugins/auth_internal/init.php +++ b/plugins/auth_internal/init.php @@ -147,7 +147,7 @@ class Auth_Internal extends Auth_Base { function check_password(int $owner_uid, string $password, string $service = '') { if (get_schema_version() > 87) { - $sth = $this->pdo->prepare("SELECT salt,login,otp_enabled,pwd_hash FROM ttrss_users WHERE id = ?"); + $sth = $this->pdo->prepare("SELECT login,pwd_hash,salt FROM ttrss_users WHERE id = ?"); } else { $sth = $this->pdo->prepare("SELECT login,pwd_hash FROM ttrss_users WHERE id = ?"); }