Skip to content
Snippets Groups Projects
Commit a22d024d authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Fix wrong recaptcha context for changePassword.

parent 5a9273b4
No related merge requests found
...@@ -1317,7 +1317,7 @@ class MyResearchController extends AbstractBase ...@@ -1317,7 +1317,7 @@ class MyResearchController extends AbstractBase
$view->hash = $hash; $view->hash = $hash;
$view->username = $user->username; $view->username = $user->username;
$view->useRecaptcha $view->useRecaptcha
= $this->recaptcha()->active('passwordRecovery'); = $this->recaptcha()->active('changePassword');
$view->setTemplate('myresearch/newpassword'); $view->setTemplate('myresearch/newpassword');
return $view; return $view;
} }
......
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