$decryptedString = ObjectFactory::createObjectByConfiguredName('crypto_class')->decryptString($encryptDecoded);
// Is it the expected length?
- if (strlen($decryptedString) != $this->getConfigInstance()->readConfig('captcha_string_length')) {
+ if (strlen($decryptedString) != $this->getConfigInstance()->getConfigEntry('captcha_string_length')) {
// Not found, so request is invalid
$requestInstance->requestIsValid(false);