]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/filter/crypto/class_CaptchaEncryptFilter.php
Continued:
[core.git] / framework / main / classes / filter / crypto / class_CaptchaEncryptFilter.php
index bf21b9b5a6ae3f5f4af02f0444dc56f4c0b15955..98871b8f982f42f05aef1f3f088f6c42af1e8ddb 100644 (file)
@@ -3,6 +3,7 @@
 namespace Org\Mxchange\CoreFramework\Filter\Captcha;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
 use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
 use Org\Mxchange\CoreFramework\Filter\BaseFilter;
 use Org\Mxchange\CoreFramework\Filter\Filterable;
@@ -84,7 +85,7 @@ class CaptchaEncryptFilter extends BaseFilter implements Filterable {
                $decryptedString = ObjectFactory::createObjectByConfiguredName('crypto_class')->decryptString($encryptDecoded);
 
                // Is it the expected length?
-               if (strlen($decryptedString) != $this->getConfigInstance()->getConfigEntry('captcha_string_length')) {
+               if (strlen($decryptedString) != FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('captcha_string_length')) {
                        // Not found, so request is invalid
                        $requestInstance->requestIsValid(false);