come to think of it, we don't need it at all
This commit is contained in:
parent
dbad39d7a2
commit
2d1391a02b
|
@ -147,7 +147,7 @@ class Auth_Internal extends Auth_Base {
|
||||||
function check_password(int $owner_uid, string $password, string $service = '') {
|
function check_password(int $owner_uid, string $password, string $service = '') {
|
||||||
|
|
||||||
if (get_schema_version() > 87) {
|
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 {
|
} else {
|
||||||
$sth = $this->pdo->prepare("SELECT login,pwd_hash FROM ttrss_users WHERE id = ?");
|
$sth = $this->pdo->prepare("SELECT login,pwd_hash FROM ttrss_users WHERE id = ?");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue