--- typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php 2011-09-12 16:57:04.000000000 +0200 +++ typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php.new 2011-09-12 16:56:05.000000000 +0200 @@ -449,6 +449,15 @@ return $this->showLogout(); } } else { + // Hook for general actions on login error (by Alessandro Bellafronte ) + if ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['login_error']) { + $_params = array(); + foreach($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['login_error'] as $_funcRef) { + if ($_funcRef) { + t3lib_div::callUserFunction($_funcRef, $_params, $this); + } + } + } // login error $markerArray['###STATUS_HEADER###'] = $this->getDisplayText('error_header',$this->conf['errorHeader_stdWrap.']); $markerArray['###STATUS_MESSAGE###'] = $this->getDisplayText('error_message',$this->conf['errorMessage_stdWrap.']);