diff --git a/module/finc/src/finc/Controller/CustomTraits/ResetPasswordTrait.php b/module/finc/src/finc/Controller/CustomTraits/ResetPasswordTrait.php index a5a2691678b1d66643af10b766f15683cbfbe0be..4ead200f814cf09fa687b87aebed50f465c9eddb 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