-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Moves TCA override to seperate file
* Removes obsolete parameter in addTCAcolumns() * Removes trim evaluation for password field * Removes saltedpasswords dependency due to having the extension built-in and not uninstallable Resolves: #64208 Change-Id: I665e0920c60de2dec6860a684edb753d157d7545 Reviewed-on: http://review.typo3.org/40375 Reviewed-by: Thomas Löffler <[email protected]> Tested-by: Thomas Löffler <[email protected]>
- Loading branch information
1 parent
4ce6f3f
commit 8aecdc0
Showing
2 changed files
with
32 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
/** | ||
* This file is part of the TYPO3 CMS project. | ||
* | ||
* It is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU General Public License, either version 2 | ||
* of the License, or any later version. | ||
* | ||
* For the full copyright and license information, please read the | ||
* LICENSE.txt file that was distributed with this source code. | ||
* | ||
* The TYPO3 project - inspiring people to share! | ||
*/ | ||
|
||
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility; | ||
|
||
$tempColumns = array( | ||
'tx_besecurepw_lastpwchange' => array( | ||
'exclude' => 0, | ||
'label' => 'LLL:EXT:be_secure_pw/Resources/Private/Language/locallang.xml:be_users.tx_besecurepw_lastpwchange', | ||
'config' => array( | ||
'type' => 'input', | ||
'size' => 12, | ||
'eval' => 'datetime', | ||
) | ||
), | ||
); | ||
|
||
ExtensionManagementUtility::addTCAcolumns('be_users', $tempColumns); | ||
ExtensionManagementUtility::addToAllTCAtypes('be_users', 'tx_besecurepw_lastpwchange;;;;1-1-1'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters