TYPO3 CMS  TYPO3_6-2
be_users.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
4 $GLOBALS['TCA']['be_users']['columns']['password']['config']['max'] = 100;
5 
6 // Backend configuration for saltedpasswords
7 // Get eval field operations methods as array keys
8 $operations = array_flip(\TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $GLOBALS['TCA']['be_users']['columns']['password']['config']['eval'], TRUE));
9 // Remove md5 and temporary password from the list of evaluated methods
10 unset($operations['md5'], $operations['password']);
11 // Append new methods to have "password" as last operation.
13 $operations['password'] = 1;
14 $GLOBALS['TCA']['be_users']['columns']['password']['config']['eval'] = implode(',', array_keys($operations));
15 unset($operations);
$operations
Definition: be_users.php:8
$GLOBALS['TCA']['be_users']['columns']['password']['config']['max']
Definition: be_users.php:4
die
Definition: index.php:6