fix password recovery

This commit is contained in:
jmechnich 2021-08-25 18:18:04 +02:00
parent a1173ab06a
commit e8f9567d79
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ class Handler_Public extends Handler {
if ($login) { if ($login) {
$user = ORM::for_table('ttrss_users') $user = ORM::for_table('ttrss_users')
->select('id', 'resetpass_token') ->select_many('id', 'resetpass_token')
->where_raw('LOWER(login) = LOWER(?)', [$login]) ->where_raw('LOWER(login) = LOWER(?)', [$login])
->find_one(); ->find_one();