[TASK] Cleanup ext:sv
[Packages/TYPO3.CMS.git] / typo3 / sysext / sv / ext_localconf.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5 // Register base authentication service
6 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService(
7 $_EXTKEY,
8 'auth',
9 'TYPO3\\CMS\\Sv\\AuthenticationService',
10 array(
11 'title' => 'User authentication',
12 'description' => 'Authentication with username/password.',
13 'subtype' => 'getUserBE,authUserBE,getUserFE,authUserFE,getGroupsFE,processLoginDataBE,processLoginDataFE',
14 'available' => TRUE,
15 'priority' => 50,
16 'quality' => 50,
17 'os' => '',
18 'exec' => '',
19 'className' => 'TYPO3\\CMS\\Sv\\AuthenticationService'
20 )
21 );
22 // Add hooks to the backend login form
23 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginFormHook'][$_EXTKEY] = 'TYPO3\\CMS\\Sv\\LoginFormHook->getLoginFormTag';
24 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginScriptHook'][$_EXTKEY] = 'TYPO3\\CMS\\Sv\\LoginFormHook->getLoginScripts';
25 ?>