[TYPO3-core] RFC #15453: rsaauth doesn't use PageRenderer API to add JS files

Steffen Gebert steffen at steffen-gebert.de
Wed Sep 8 12:06:30 CEST 2010


> One remark from reading:
> You know that $GLOBALS['TBE_TEMPLATE'] is the template from backend.php?
> But rsa also is used in FE, so how should it work there?

I'm only changing the Backend login form code.
rsaauth hooks into felogin using a similar code in tx_rsaauth_feloginhook.
tx_rsaauth_loginformhook is only for BE login:

> // Add a hook to the BE login form
> $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginFormHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/hooks/class.tx_rsaauth_loginformhook.php:tx_rsaauth_loginformhook->getLoginFormTag';
> $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginScriptHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/hooks/class.tx_rsaauth_loginformhook.php:tx_rsaauth_loginformhook->getLoginScripts';
>
> // Add a hook to the FE login form (felogin system extension)
> $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['loginFormOnSubmitFuncs'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/hooks/class.tx_rsaauth_feloginhook.php:tx_rsaauth_feloginhook->loginFormHook';


Kind regards
Steffen

-- 
Steffen Gebert
TYPO3 Core Team Member


More information about the TYPO3-team-core mailing list