summaryrefslogtreecommitdiff
path: root/plugins/auth_internal
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-01 15:49:44 +0300
committerAndrew Dolgov <[email protected]>2021-03-01 15:49:44 +0300
commitdbad39d7a295e21b04e3f2e39ad444dc9919c937 (patch)
tree0885abe2275be7236369992a515cec3a9e80fbcf /plugins/auth_internal
parent6359259dbb1e8d5b569f569a7089abffd9259d30 (diff)
auth_internal: don't try to get otp_enabled on old schema
Diffstat (limited to 'plugins/auth_internal')
-rw-r--r--plugins/auth_internal/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/auth_internal/init.php b/plugins/auth_internal/init.php
index 9a8417d4f..277ed3a8d 100644
--- a/plugins/auth_internal/init.php
+++ b/plugins/auth_internal/init.php
@@ -149,7 +149,7 @@ class Auth_Internal extends Auth_Base {
if (get_schema_version() > 87) {
$sth = $this->pdo->prepare("SELECT salt,login,otp_enabled,pwd_hash FROM ttrss_users WHERE id = ?");
} else {
- $sth = $this->pdo->prepare("SELECT login,otp_enabled,pwd_hash FROM ttrss_users WHERE id = ?");
+ $sth = $this->pdo->prepare("SELECT login,pwd_hash FROM ttrss_users WHERE id = ?");
}
$sth->execute([$owner_uid]);