]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/commands/web/class_WebMoneyRefillFormCommand.php
Fixes for image generation
[shipsimu.git] / application / ship-simu / main / commands / web / class_WebMoneyRefillFormCommand.php
index 06e2e31812705b3e2494bfe97ddfd8357c5fb967..9039d56e8718b2f9241d564f62c0ef543c84f8a7 100644 (file)
@@ -59,6 +59,7 @@ class WebMoneyRefillFormCommand extends BaseCommand implements Commandable {
         * @param       $requestInstance        An instance of a class with an Requestable interface
         * @param       $responseInstance       An instance of a class with an Responseable interface
         * @return      void
+        * @todo        0% done
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                $this->partialStub("Please implement this method.");
@@ -80,6 +81,12 @@ 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'));
+
+               // Verify refill request
+               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('refill_request_validator_class'));
        }
 }