From c66f09a64af732c4c292f349b33cf550122bd3c9 Mon Sep 17 00:00:00 2001 From: Frank Morgner <morgnerf@ub.uni-leipzig.de> Date: Tue, 17 Apr 2018 14:17:54 +0200 Subject: [PATCH] refs #12998 * fixes serviceLocator changes by vf4 at /finc/Controller/CustomTraits/ResetPasswordTrait --- .../src/finc/Controller/CustomTraits/ResetPasswordTrait.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/module/finc/src/finc/Controller/CustomTraits/ResetPasswordTrait.php b/module/finc/src/finc/Controller/CustomTraits/ResetPasswordTrait.php index a5a2691678b..4ead200f814 100644 --- a/module/finc/src/finc/Controller/CustomTraits/ResetPasswordTrait.php +++ b/module/finc/src/finc/Controller/CustomTraits/ResetPasswordTrait.php @@ -64,7 +64,6 @@ trait ResetPasswordTrait $view = $this->createResetPasswordViewModel(); // Set up reCaptcha - //todo: testen! $view->useRecaptcha = $this->recaptcha()->active('resetPassword'); // Process form submission: @@ -184,8 +183,7 @@ trait ResetPasswordTrait // Get mailer $mailer = new Mailer( - $this->getServiceLocator() - ->get('VuFind\Mailer')->getTransport() + $this->serviceLocator->get('VuFind\Mailer')->getTransport() ); // Send the email -- GitLab