]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/filter/verifier/class_AccountPasswordVerifierFilter.php
Graphical code CAPTCHA partly finished, crypto class supports encryption/decryption...
[shipsimu.git] / inc / classes / main / filter / verifier / class_AccountPasswordVerifierFilter.php
index 1525973dab2125f41a122156cf56f7f2d112e95f..c85d9483e0b40a37fe8f08384a364844272ef2a7 100644 (file)
@@ -92,7 +92,7 @@ class AccountPasswordVerifierFilter extends BaseFilter implements Filterable {
                $oldHash = $userInstance->getField('pass_hash');
 
                // Get an encryption helper and encrypt the password
-               $passHash = ObjectFactory::createObjectByConfiguredName('crypto_class')->hashPassword($password, $oldHash);
+               $passHash = ObjectFactory::createObjectByConfiguredName('crypto_class')->hashString($password, $oldHash);
 
                // Does it match?
                if ($oldHash != $passHash) {