Fixed bug #16352: [saltedpasswords] Login with bulk updated passwords from t3sec_salt...
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 11 Nov 2010 14:56:54 +0000 (14:56 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 11 Nov 2010 14:56:54 +0000 (14:56 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-4@9334 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/saltedpasswords/sv1/class.tx_saltedpasswords_sv1.php

index 54a4df4..cf9b535 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-11  Christian Kuhn  <lolli@schwarzbu.ch>
+
+       * Fixed bug #16352: [saltedpasswords] Login with bulk updated passwords from t3sec_saltedpw not working (Thanks to Marcus Krause)
+
 2010-11-10  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #16346: htmlArea RTE: fontstyle/fontsize may raise js error on toolbar update
index f48f6f9..4e6b723 100644 (file)
@@ -170,7 +170,7 @@ class tx_saltedpasswords_sv1 extends tx_sv_authbase {
                                if (!strcmp(substr($user['password'], 0, 1), 'M')) {
                                        $validPasswd = $this->objInstanceSaltedPW->checkPassword(md5($password), substr($user['password'], 1));
                                } else {
-                                       $validPasswd = $this->objInstanceSaltedPW->checkPassword(md5($password), substr($user['password'], 1));
+                                       $validPasswd = $this->objInstanceSaltedPW->checkPassword($password, substr($user['password'], 1));
                                }
 
                                        // skip further authentication methods