[BUGFIX] Felogin improperly merges flexforms and TS conf 81/31081/4
authorMarkus Klein <klein.t3@mfc-linz.at>
Mon, 23 Jun 2014 15:48:28 +0000 (17:48 +0200)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Sun, 6 Jul 2014 17:10:19 +0000 (19:10 +0200)
commitf383f1b3a0ffa8e4c78e2868db0ff9dfcc7a6f3e
tree49a9c585d9b0bb224c110f83011682547cf979b1
parent7755bf4c2933f3dcf3536f653406294d228fd9d5
[BUGFIX] Felogin improperly merges flexforms and TS conf

There are two options to show the forgot password link in FE:
 * TypoScript: showForgotPasswordLink
 * Flexforms: showForgotPassword

The flexform values are merged with the TS values, but as these config
options are named differently, they are not overridden properly.

With #50138 the forgot-form is now only displayed when showForgotPassword
is set, hence the TypoScript configuration is not taken into account.

Since we can neither change the flexform, nor the TypoScript, we need to
merge the values in the flexform-merge code part.

This patch reduces the code to use only the documented TypoScript option.

Resolves: #59821
Releases: 6.3, 6.2
Change-Id: I77c391910561a304649d4c747ec868388be3f1a5
Reviewed-on: https://review.typo3.org/31081
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/felogin/Classes/Controller/FrontendLoginController.php