From: Andrew Dolgov Date: Mon, 26 Nov 2018 09:44:36 +0000 (+0300) Subject: reset password: use updated mailer parameters properly X-Git-Tag: 18.12~36 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=79c50359203afef9c04824376368040139fc3402;p=tt-rss.git reset password: use updated mailer parameters properly --- diff --git a/classes/handler/public.php b/classes/handler/public.php index cadb9873..531392c8 100755 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -794,7 +794,8 @@ class Handler_Public extends Handler { $mailer = new Mailer(); - $rc = $mailer->mail(["to" => "$login <$email>", + $rc = $mailer->mail(["to_name" => $login, + "to_address" => $email, "subject" => __("[tt-rss] Password reset request"), "message" => $message]);