[TASK] CGL FunctionCallArgumentSpacingNoSpaceAfterComma in sysext
[Packages/TYPO3.CMS.git] / typo3 / sysext / sv / ext_localconf.php
1 <?php
2 if (!defined ('TYPO3_MODE')) die ('Access denied.');
3
4 // Register base authentication service
5 t3lib_extMgm::addService($_EXTKEY, 'auth' /* sv type */, 'tx_sv_auth' /* sv key */,
6 array(
7
8 'title' => 'User authentication',
9 'description' => 'Authentication with username/password.',
10
11 'subtype' => 'getUserBE,authUserBE,getUserFE,authUserFE,getGroupsFE,processLoginDataBE,processLoginDataFE',
12
13 'available' => TRUE,
14 'priority' => 50,
15 'quality' => 50,
16
17 'os' => '',
18 'exec' => '',
19
20 'classFile' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_sv_auth.php',
21 'className' => 'tx_sv_auth',
22 )
23 );
24
25 // Add hooks to the backend login form
26 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginFormHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/class.tx_sv_loginformhook.php:tx_sv_loginformhook->getLoginFormTag';
27 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginScriptHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/class.tx_sv_loginformhook.php:tx_sv_loginformhook->getLoginScripts';
28
29 ?>