]> git.wh0rd.org Git - tt-rss.git/commitdiff
reset password: use updated mailer parameters properly
authorAndrew Dolgov <noreply@fakecake.org>
Mon, 26 Nov 2018 09:44:36 +0000 (12:44 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Mon, 26 Nov 2018 09:44:36 +0000 (12:44 +0300)
classes/handler/public.php

index cadb9873dce8d75da793f41c5b524939c28a1527..531392c84b1fed3b4a66bc0beb2cee75a990df8a 100755 (executable)
@@ -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]);