summaryrefslogtreecommitdiff
path: root/plugins/auth_remote
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-25 12:46:13 +0300
committerAndrew Dolgov <[email protected]>2021-02-25 12:46:13 +0300
commitbd2314170dc183c154c2af05686ddb0224b5d133 (patch)
tree762e6563377f4baeadd7a4f995cec57dbeacac90 /plugins/auth_remote
parente858e979e9e6daf1888b007d509cc4afe5443811 (diff)
implement prefs UI based on new prefs class and a few more things
Diffstat (limited to 'plugins/auth_remote')
-rw-r--r--plugins/auth_remote/init.php2
1 files changed, 1 insertions, 1 deletions
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]);