This commit is contained in:
Jeremy Benoist 2018-12-02 18:47:34 +01:00
parent 2dfbe9e5fa
commit 43ccf4b178
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 1 additions and 3 deletions

View file

@ -146,8 +146,6 @@ class ManageController extends Controller
$form->handleRequest($request);
if ($form->isSubmitted() && $form->isValid()) {
$this->get('logger')->info('searching users');
$searchTerm = (isset($request->get('search_user')['term']) ? $request->get('search_user')['term'] : '');
$qb = $em->getRepository('WallabagUserBundle:User')->getQueryBuilderForSearch($searchTerm);

View file

@ -97,7 +97,7 @@ class AuthCodeMailer implements AuthCodeMailerInterface
$message = new \Swift_Message();
$message
->setTo($user->getEmail())
->setTo($user->getEmailAuthRecipient())
->setFrom($this->senderEmail, $this->senderName)
->setSubject($subject)
->setBody($bodyText, 'text/plain')