fix password recovery

master
jmechnich 3 years ago
parent a1173ab06a
commit e8f9567d79

@ -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();

Loading…
Cancel
Save