From bd2314170dc183c154c2af05686ddb0224b5d133 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 25 Feb 2021 12:46:13 +0300 Subject: implement prefs UI based on new prefs class and a few more things --- plugins/auth_remote/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/auth_remote') diff --git a/plugins/auth_remote/init.php b/plugins/auth_remote/init.php index f2dcfb318..f24364ffd 100644 --- a/plugins/auth_remote/init.php +++ b/plugins/auth_remote/init.php @@ -21,7 +21,7 @@ class Auth_Remote extends Auth_Base { $cert_serial = get_ssl_certificate_id(); if ($cert_serial) { - $sth = $this->pdo->prepare("SELECT login FROM ttrss_user_prefs, ttrss_users + $sth = $this->pdo->prepare("SELECT login FROM ttrss_user_prefs2, ttrss_users WHERE pref_name = 'SSL_CERT_SERIAL' AND value = ? AND owner_uid = ttrss_users.id"); $sth->execute([$cert_serial]); -- cgit v1.2.3