Fixed bug #16352: [saltedpasswords] Login with bulk updated passwords from t3sec_salt...
[Packages/TYPO3.CMS.git] / typo3 / sysext / saltedpasswords / sv1 / class.tx_saltedpasswords_sv1.php
index c7eb2c2..dc067bd 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