summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfox <[email protected]>2021-08-25 19:20:01 +0300
committerfox <[email protected]>2021-08-25 19:20:01 +0300
commitb8f82ca12f2b445c2eb74f1f3d0c12cb33b8e87f (patch)
tree2009c63ed18f8e14674df07db2bd53080b7e6863
parenta1173ab06ab0ae2c852254c0d9c065182812e6d7 (diff)
parente8f9567d791f8622e92d0827cdf727139271c56c (diff)
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
-rwxr-xr-xclasses/handler/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index 4da32e90d..b9619971b 100755
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -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();