Feature #29565

It is not possible to force felogin into a certain display mode

Added by Lucas Jenß over 7 years ago. Updated about 1 year ago.

Should have
Target version:
Start date:
Due date:
% Done:


PHP Version:
Sprint Focus:


felogin decides what to display according to the passed pivars, in the following code section in tx_felogin_pi1:

            // What to display
        if ($this->piVars['forgot']) {
            $content .= $this->showForgot();
        } elseif ($this->piVars['forgothash']) {
            $content .= $this->changePassword();
        } else {
            if($this->userIsLoggedIn && !$this->logintype) {
                $content .= $this->showLogout();
            } else {
                $content .= $this->showLogin();

This makes it impossible to have, for example, a login form (LF) and a "forgot password" form (FP) on the same page because even when setting default pivars from typoscript, the LF will turn into a "forgot password" when the FP form is submitted, because it sets the "forgot" pivar.

My idea would be to introduce a "mode" config variable, so that you can force the mode like this:

plugin.tx_felogin_pi1.mode = forgot

Related issues

Related to TYPO3 Core - Bug #26910: forgot does not work with more than one login form on one page New 2011-05-19
Related to TYPO3 Core - Feature #38844: Add code list to felogin Accepted 2012-07-10
Related to TYPO3 Core - Epic #84262: [FEATURE] New sysextension feloginform Under Review 2012-07-10


#1 Updated by Lucas Jenß over 7 years ago

I incorrectly set the Typo3 version to 4.7, it should be 4.5.

#2 Updated by Chris topher over 7 years ago

  • TYPO3 Version changed from 4.7 to 4.5

#3 Updated by Mathias Schreiber about 4 years ago

  • Category set to felogin
  • Target version set to 7.2 (Frontend)

#4 Updated by Benni Mack almost 4 years ago

  • Target version changed from 7.2 (Frontend) to 7.4 (Backend)

#5 Updated by Susanne Moog over 3 years ago

  • Target version changed from 7.4 (Backend) to 7.5

#6 Updated by Benni Mack over 3 years ago

  • Target version changed from 7.5 to 8 LTS

#7 Updated by Riccardo De Contardi about 2 years ago

  • Target version changed from 8 LTS to 9.0

#8 Updated by Susanne Moog about 1 year ago

  • Target version deleted (9.0)

#9 Updated by Markus Klein 11 months ago

  • Related to Epic #84262: [FEATURE] New sysextension feloginform added

Also available in: Atom PDF