[FEATURE] Add TCA 'saltedPassword' eval for type=input 46/57746/5
authorChristian Kuhn <lolli@schwarzbu.ch>
Tue, 31 Jul 2018 14:28:14 +0000 (16:28 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 31 Jul 2018 18:17:27 +0000 (20:17 +0200)
commitc4906f1dd1368f206a10e28fd47c503e0340ca4b
treeab3664cc8e36eb739a3766988e14f2ceb7ec5501
parent83b6343f7237419c9ef02f9c23f8b99febe70956
[FEATURE] Add TCA 'saltedPassword' eval for type=input

The salted passwords extension did register a custom
field evaluation to hash a given password when editing users
in the backend through FormEngine.
This is now turned into a general eval 'saltedPassword'
and handled in the DataHandler directly. Note the existing
eval 'password' is not extended since 'password' eval
changes the display part to show '****', which should be
kept seperated from the salt evaluation.
The "Evaluation" classes are dropped directly without
substitution since they are totally saltedpasswords internal
and don't make sense to be used externally.

Change-Id: I93306eaf18222d14e141a3d612a419a2b7174341
Resolves: #85698
Releases: master
Reviewed-on: https://review.typo3.org/57746
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
13 files changed:
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Configuration/TCA/be_users.php
typo3/sysext/core/Documentation/Changelog/master/Feature-85698-NewTypeinputEvalSaltedPassword.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Important-85683-DoppedSaltedpasswordOptions.rst
typo3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php
typo3/sysext/frontend/Configuration/TCA/fe_users.php
typo3/sysext/saltedpasswords/Classes/Evaluation/BackendEvaluator.php [deleted file]
typo3/sysext/saltedpasswords/Classes/Evaluation/Evaluator.php [deleted file]
typo3/sysext/saltedpasswords/Classes/Evaluation/FrontendEvaluator.php [deleted file]
typo3/sysext/saltedpasswords/Configuration/TCA/Overrides/be_users.php [deleted file]
typo3/sysext/saltedpasswords/Configuration/TCA/Overrides/fe_users.php [deleted file]
typo3/sysext/saltedpasswords/Tests/Unit/Evaluation/EvaluatorTest.php [deleted file]
typo3/sysext/saltedpasswords/ext_localconf.php