[BUGFIX] Prevent saltedpasswords destroying the password
authorXavier Perseguers <xavier@typo3.org>
Wed, 10 Oct 2012 10:48:19 +0000 (12:48 +0200)
committerXavier Perseguers <xavier@typo3.org>
Tue, 16 Oct 2012 06:33:31 +0000 (08:33 +0200)
commit680dcae8f883e268b52ed5d783d50078ad944b85
tree8072d0cbb1e017df2f6d9eac83180f7b1b2a382d
parentcddcadaa2cfc140ad986d859d0757ce7ca3f0055
[BUGFIX] Prevent saltedpasswords destroying the password

When a record is using a plain MD5 password, EXT:saltedpasswords will
destroy the password after the second successive edit.

Add check for already temporarily hashed passwords to prevent that.

Change-Id: I487cbb335616c1d378a704845d5cc96e4ad6cb62
Fixes: #41828
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/15478
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/sysext/saltedpasswords/Classes/Evaluation/Evaluator.php
typo3/sysext/saltedpasswords/tests/Unit/Evaluation/EvaluatorTest.php [new file with mode: 0644]