Merge pull request 'fix password recovery' (#44) from mechnich/tt-rss:fix-password-recovery into master

Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/44
This commit is contained in:
fox 2021-08-25 19:20:01 +03:00
commit b8f82ca12f
1 changed files with 1 additions and 1 deletions

View File

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