Skip to content
Snippets Groups Projects
Commit c66f09a6 authored by Frank Morgner's avatar Frank Morgner
Browse files

refs #12998

* fixes serviceLocator changes by vf4 at /finc/Controller/CustomTraits/ResetPasswordTrait
parent db9d6d22
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment