CAPTCHA verifier added to refill page command
authorRoland Häder <roland@mxchange.org>
Sat, 16 Aug 2008 23:13:03 +0000 (23:13 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 16 Aug 2008 23:13:03 +0000 (23:13 +0000)
application/ship-simu/config.php
application/ship-simu/main/commands/web/class_WebMoneyRefillFormCommand.php

index 27ff4d93cfe075ed1d675258e277aa1820cddb2c..75e555d22693a0adb7543e695f77d1031e906e4e 100644 (file)
@@ -151,6 +151,9 @@ $cfg->setConfigEntry('captcha_user_verifier_class', "GraphicalCodeCaptchaVerifie
 // CFG: CAPTCHA-REGISTER-VERIFIER-CLASS
 $cfg->setConfigEntry('captcha_register_verifier_class', "GraphicalCodeCaptchaVerifierFilter");
 
+// CFG: CAPTCHA-REFILL-VERFIER-CLASS
+$cfg->setConfigEntry('captcha_refill_verifier_class', "GraphicalCodeCaptchaVerifierFilter");
+
 // CFG: CONFIRM-CODE-VALIDATOR-CLASS
 $cfg->setConfigEntry('confirm_code_verifier_class', "ConfirmCodeVerifierFilter");
 
index 06e2e31812705b3e2494bfe97ddfd8357c5fb967..1fa33d45905107b0ff6c423c05f147d9fe9715de 100644 (file)
@@ -80,6 +80,9 @@ class WebMoneyRefillFormCommand extends BaseCommand implements Commandable {
 
                // Is the refill page active?
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('refill_page_class'));
+
+               // Verify CAPTCHA code
+               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('captcha_refill_verifier_class'));
        }
 }