Project

General

Profile

Actions

Bug #18868

closed

felogin: forgot-password email sent twice

Added by Urs Widmer over 16 years ago. Updated over 11 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

Also available in: Atom PDF