diff options
author | Andrew Dolgov <[email protected]> | 2021-03-01 15:49:44 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-01 15:49:44 +0300 |
commit | dbad39d7a295e21b04e3f2e39ad444dc9919c937 (patch) | |
tree | 0885abe2275be7236369992a515cec3a9e80fbcf /plugins/auth_internal/init.php | |
parent | 6359259dbb1e8d5b569f569a7089abffd9259d30 (diff) |
auth_internal: don't try to get otp_enabled on old schema
Diffstat (limited to 'plugins/auth_internal/init.php')
-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 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]); |