]> 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 97a1f11a95975d78525e26a8e98121f554ecf352..aaab8dff42b178f79a0df145b876a14a575c89db 100644 (file)
@@ -82,7 +82,7 @@ class CaptchaEncryptFilter extends BaseFilter implements Filterable {
                $encryptDecoded = base64_decode(str_replace(' ', '+', urldecode($encryptRequest)));
 
                // Get a crypto helper and decrypt the string
-               $decryptedString = ObjectFactory::createObjectByConfiguredName('crypto_class')->decryptString($encryptDecoded);
+               $decryptedString = CryptoHelper::getSelfInstance()->decryptString($encryptDecoded);
 
                // Is it the expected length?
                if (strlen($decryptedString) != FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('captcha_string_length')) {