Bug #18868
closedfelogin: forgot-password email sent twice
0%
Description
When including the plugin felogin two times on one page all the actions are performed twice.
In my case I have a "login failed"-page which contains a short text and a felogin-form. On all pages is included a small quicklogin instance of felogin (just shows username, password and submit).
When I try to get my password via "Forgot your password?", I will get my password twice. That is because both instances of felogin perform their actions.
I fixed this behavior with changing the felogin-core, so that an forgot password-mail will just be sent if the loaded plugin has activated the checkbox "Show Forgot password? link:"
It would be usefull when the felogin-actions would be performed just once per site-call.
Kind Regards,
Urs
fixed in "typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php"
-----------------------------------------------------------------------------
Line 100 OLD:
if ($this->piVars['forgot']) {
Line 100 NEW:
if ($this->piVars['forgot'] && intval($this->conf['showForgotPassword']) == 1) {
(issue imported from #M8547)
Updated by Xavier Perseguers almost 13 years ago
- Assignee deleted (
Steffen Kamper) - Target version deleted (
0) - TYPO3 Version set to 4.3
Updated by Alexander Opitz over 11 years ago
- Status changed from Accepted to Needs Feedback
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Wouter Wolters over 11 years ago
- Status changed from Needs Feedback to Closed
This will be solved with #50138 The solution given here is the same. Please review the patch here https://review.typo3.org/#/c/22541/