Project

General

Profile

Actions

Bug #18868

closed

felogin: forgot-password email sent twice

Added by Urs Widmer almost 16 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
felogin
Target version:
-
Start date:
2008-05-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Feature #50138: Show forgot password if conf showForgotPassword = 1Closed2013-07-18

Actions
Actions #1

Updated by Xavier Perseguers about 12 years ago

  • Assignee deleted (Steffen Kamper)
  • Target version deleted (0)
  • TYPO3 Version set to 4.3
Actions #2

Updated by Alexander Opitz almost 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)?

Actions #3

Updated by Wouter Wolters over 10 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/

Actions

Also available in: Atom PDF