[BUGFIX] Prevent saltedpasswords destroying the password
authorXavier Perseguers <xavier@typo3.org>
Tue, 16 Oct 2012 07:09:59 +0000 (09:09 +0200)
committerXavier Perseguers <xavier@typo3.org>
Tue, 16 Oct 2012 07:14:58 +0000 (09:14 +0200)
commit36fa0c213fb1f6bb73cd72fb79d64b5151a9048f
treea79412430f6fdf86a6315f5352d6dc6d9ad3c863
parent12879f41c82e1f1f5935fcd50ec10597b1ebedf2
[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/15672
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
tests/typo3/sysext/saltedpasswords/classes/eval/class.tx_saltedpasswords_evalTest.php [new file with mode: 0644]
typo3/sysext/saltedpasswords/classes/eval/class.tx_saltedpasswords_eval.php