Hooks¶
The following hooks are available:
- $GLOBALS[‘TYPO3_CONF_VARS’][‘EXTCONF’][‘felogin’][‘beforeRedirect’]
- Receives loginType and redirectUrl as parameters, allows to change the redirectUrl
- $GLOBALS[‘TYPO3_CONF_VARS’][‘EXTCONF’][‘felogin’][‘postProcContent’]
- Postprocessing of the output just before it is returned
- $GLOBALS[‘TYPO3_CONF_VARS’][‘EXTCONF’][‘felogin’][‘login_confirmed’]
- Hook for general actions after login has been confirmed
- $GLOBALS[‘TYPO3_CONF_VARS’][‘EXTCONF’][‘felogin’][‘login_error’]
- Hook for general actions on login error
- $GLOBALS[‘TYPO3_CONF_VARS’][‘EXTCONF’][‘felogin’][‘loginFormOnSubmitFuncs’]
- This hook can be used to set hidden fields and onsubmit-scripts
- $GLOBALS[‘TYPO3_CONF_VARS’][‘EXTCONF’][‘felogin’][‘logout_confirmed’]
- Hook for general actions after logout has been confirmed
- $GLOBALS[‘TYPO3_CONF_VARS’][‘EXTCONF’][‘felogin’][‘forgotPasswordMail ‘]
- Hook to change the contents of the forgot password mail
- $GLOBALS[‘TYPO3_CONF_VARS’][‘EXTCONF’][‘felogin’][‘password_changed’]
- Receives an array containing the user and the newPassword, allows to mark the password as invalid using ‘passwordValid’ and set a ‘passwordInvalidMessage’