diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2018-12-02 18:47:34 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-01-23 13:28:02 +0100 |
commit | 43ccf4b1787c294dbfa7b052c41e95ac9eeca3af (patch) | |
tree | 8c574cf1771f25f7bc393b84dca3c3772928861b /src | |
parent | 2dfbe9e5faf40364b60e6c76f3cc9fac5bf11fa4 (diff) | |
download | wallabag-43ccf4b1787c294dbfa7b052c41e95ac9eeca3af.tar.gz wallabag-43ccf4b1787c294dbfa7b052c41e95ac9eeca3af.tar.zst wallabag-43ccf4b1787c294dbfa7b052c41e95ac9eeca3af.zip |
Cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/UserBundle/Controller/ManageController.php | 2 | ||||
-rw-r--r-- | src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/Wallabag/UserBundle/Controller/ManageController.php b/src/Wallabag/UserBundle/Controller/ManageController.php index b9fd8660..63a06206 100644 --- a/src/Wallabag/UserBundle/Controller/ManageController.php +++ b/src/Wallabag/UserBundle/Controller/ManageController.php | |||
@@ -146,8 +146,6 @@ class ManageController extends Controller | |||
146 | $form->handleRequest($request); | 146 | $form->handleRequest($request); |
147 | 147 | ||
148 | if ($form->isSubmitted() && $form->isValid()) { | 148 | if ($form->isSubmitted() && $form->isValid()) { |
149 | $this->get('logger')->info('searching users'); | ||
150 | |||
151 | $searchTerm = (isset($request->get('search_user')['term']) ? $request->get('search_user')['term'] : ''); | 149 | $searchTerm = (isset($request->get('search_user')['term']) ? $request->get('search_user')['term'] : ''); |
152 | 150 | ||
153 | $qb = $em->getRepository('WallabagUserBundle:User')->getQueryBuilderForSearch($searchTerm); | 151 | $qb = $em->getRepository('WallabagUserBundle:User')->getQueryBuilderForSearch($searchTerm); |
diff --git a/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php b/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php index e8e29aa9..2797efde 100644 --- a/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php +++ b/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php | |||
@@ -97,7 +97,7 @@ class AuthCodeMailer implements AuthCodeMailerInterface | |||
97 | 97 | ||
98 | $message = new \Swift_Message(); | 98 | $message = new \Swift_Message(); |
99 | $message | 99 | $message |
100 | ->setTo($user->getEmail()) | 100 | ->setTo($user->getEmailAuthRecipient()) |
101 | ->setFrom($this->senderEmail, $this->senderName) | 101 | ->setFrom($this->senderEmail, $this->senderName) |
102 | ->setSubject($subject) | 102 | ->setSubject($subject) |
103 | ->setBody($bodyText, 'text/plain') | 103 | ->setBody($bodyText, 'text/plain') |