Disable forgot password forms
If there are two login forms on a page (usecases described here: http://forge.typo3.org/issues/26910) the forgot feature does not work because the last generated forgot_hash overwrites all previous generated hashes in the session. This is already discussed here http://forge.typo3.org/issues/26910 and I aggree that "it's nonsense and a sign of bad design if there are two forgot password forms on the same page" (http://forge.typo3.org/issues/26910#note-5).
So it would be nice to disable the forgot feature for one of the two login forms, perhaps by introducing two new Typoscript options "disableForgot" and "disableChangePassword" which simply disable the execution of the showForgot and changePassword functions.
I will create a patch for this later and send it to gerrit...
[FEATURE] Show forgot password only if conf showForgotPassword = 1
Do not show forgot password form in felogin, if the forgot
password link for the login form has been disabled.
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Marco Huber
Tested-by: Marco Huber
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer