From a22d024d66567b67a3dc1e854dfdf19965c3a7e2 Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Wed, 26 Oct 2016 11:10:53 -0400 Subject: [PATCH] Fix wrong recaptcha context for changePassword. --- module/VuFind/src/VuFind/Controller/MyResearchController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/VuFind/src/VuFind/Controller/MyResearchController.php b/module/VuFind/src/VuFind/Controller/MyResearchController.php index 8da9e57df86..c203f2196a8 100644 --- a/module/VuFind/src/VuFind/Controller/MyResearchController.php +++ b/module/VuFind/src/VuFind/Controller/MyResearchController.php @@ -1317,7 +1317,7 @@ class MyResearchController extends AbstractBase $view->hash = $hash; $view->username = $user->username; $view->useRecaptcha - = $this->recaptcha()->active('passwordRecovery'); + = $this->recaptcha()->active('changePassword'); $view->setTemplate('myresearch/newpassword'); return $view; } -- GitLab