#50138Show forgot password if conf showForgotPassword = 1
Description
Sometimes 2 plugins felogin are in the same page : one in the header and the other in content’s page of managing account.
If user uses the link forgot password, the 2 plugins show the form. Even if conf showForgotPassword is false.
It would be good to do a test before showing the form.
\typo3\sysext\felogin\Classes\Controller\FrontendLoginController.php l171
if ($this->piVars['forgot']) {
$content .= $this->showForgot();
}
To :
if ($this->piVars['forgot'] && $this->conf['showForgotPassword']) {
$content .= $this->showForgot();
}Reviews 3
- main 23918[TASK] Update felogin doc with showForgotPassword change
- main 22541[FEATURE] Show forgot password only if conf showForgotPassword = 1
- TYPO3_6-1 22535[FEATURE] Show forgot password only if conf showForgotPassword = 1 Hide forgot pass form of fe_login if not forgot pass link. If the plugin not shows the forgot pass link, it should not show the form. In the case where two plugins are present in the same page.