Follow-up to bug #10768: CSC height 1% breaks rendering of images (thanks to Helmut...
[Packages/TYPO3.CMS.git] / typo3 / sysext / saltedpasswords / ext_tables.php
1 <?php
2 if (!defined ('TYPO3_MODE')) {
3 die ('Access denied.');
4 }
5
6 t3lib_div::loadTCA('fe_users');
7 $TCA['fe_users']['columns']['password']['config']['max'] = 60;
8
9 if (tx_saltedpasswords_div::isUsageEnabled('FE')) {
10 $TCA['fe_users']['columns']['password']['config']['eval'] = 'trim,required,tx_saltedpasswords_eval_fe,password';
11 }
12
13 t3lib_div::loadTCA('be_users');
14 $TCA['be_users']['columns']['password']['config']['max'] = 60;
15
16 if (tx_saltedpasswords_div::isUsageEnabled('BE')) {
17 $TCA['be_users']['columns']['password']['config']['eval'] = 'trim,required,tx_saltedpasswords_eval_be,password';
18 }
19
20 $GLOBALS['TYPO3_USER_SETTINGS']['columns']['password']['eval'] = 'tx_saltedpasswords_eval_be';
21 $GLOBALS['TYPO3_USER_SETTINGS']['columns']['password2']['eval'] = '';
22
23 ?>