diff --git a/typo3/sysext/saltedpasswords/Classes/Salt/SaltFactory.php b/typo3/sysext/saltedpasswords/Classes/Salt/SaltFactory.php index 642bff8b7da5027e88ac3c1bdf418081c1baa6cb..9a850a6125d95cf20d5fff768eddaae3db8a2951 100644 --- a/typo3/sysext/saltedpasswords/Classes/Salt/SaltFactory.php +++ b/typo3/sysext/saltedpasswords/Classes/Salt/SaltFactory.php @@ -128,7 +128,7 @@ class SaltFactory $methodFound = false; foreach ($registeredMethods as $method) { $objectInstance = GeneralUtility::makeInstance($method); - if ($objectInstance instanceof SaltInterface) { + if ($objectInstance instanceof SaltInterface && $objectInstance->isAvailable()) { $methodFound = $objectInstance->isValidSaltedPW($saltedHash); if ($methodFound) { self::$instance = $objectInstance;