TYPO3 API  SVNRelease
ext_tables.php
Go to the documentation of this file.
00001 <?php
00002 if (!defined ('TYPO3_MODE')) {
00003     die ('Access denied.');
00004 }
00005 
00006 t3lib_div::loadTCA('fe_users');
00007 $TCA['fe_users']['columns']['password']['config']['max'] = 60;
00008 
00009 if (tx_saltedpasswords_div::isUsageEnabled('FE')) {
00010     $TCA['fe_users']['columns']['password']['config']['eval'] = 'trim,required,tx_saltedpasswords_eval_fe,password';
00011 }
00012 
00013 t3lib_div::loadTCA('be_users');
00014 $TCA['be_users']['columns']['password']['config']['max'] = 60;
00015 
00016 if (tx_saltedpasswords_div::isUsageEnabled('BE')) {
00017     $TCA['be_users']['columns']['password']['config']['eval'] = 'trim,required,tx_saltedpasswords_eval_be,password';
00018 
00019         // Prevent md5 hashing on client side via JS
00020     $GLOBALS['TYPO3_USER_SETTINGS']['columns']['password']['eval'] = '';
00021     $GLOBALS['TYPO3_USER_SETTINGS']['columns']['password2']['eval'] = '';
00022 }
00023 
00024 
00025 ?>