[BUGFIX] OpenID service uses incorrect priorities to check returned data
[Packages/TYPO3.CMS.git] / typo3 / sysext / openid / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5 // Register wizard
6 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
7 'wizard_openid',
8 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'wizard/'
9 );
10
11 // Add field to setup module
12 $GLOBALS['TYPO3_USER_SETTINGS']['columns']['tx_openid_openid'] = array(
13 'type' => 'user',
14 'table' => 'be_users',
15 'label' => 'LLL:EXT:openid/locallang_db.xlf:_MOD_user_setup.tx_openid_openid',
16 'csh' => 'tx_openid_openid',
17 'userFunc' => \TYPO3\CMS\Openid\OpenidModuleSetup::class . '->renderOpenID',
18 'access' => \TYPO3\CMS\Openid\OpenidModuleSetup::class
19 );
20 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToUserSettings('tx_openid_openid', 'after:password2');
21 }