diff options
author | Andrew Dolgov <[email protected]> | 2021-03-01 15:50:41 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-01 15:50:41 +0300 |
commit | 2d1391a02bce26f8a05ea4c5b25f87df89254721 (patch) | |
tree | d7fc0e52cb554e8ce66c3d025e18ef502b673f55 /plugins | |
parent | dbad39d7a295e21b04e3f2e39ad444dc9919c937 (diff) |
come to think of it, we don't need it at all
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/auth_internal/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 = ?"); } |