X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fcommands%2Fweb%2Fgoverment%2Fclass_WebShipsimuGovermentStartupCommand.php;h=cd203e5cfd804467e82d8c2791656f47bf26aa51;hp=18a3bc00e66d2c1f8d1daf1ca40e382a942d1881;hb=df33e264f3246f80756d7e2da55d7f7c40f9088c;hpb=580921326fc93fe28639c79357ebc7e72cb1836d diff --git a/application/ship-simu/main/commands/web/goverment/class_WebShipsimuGovermentStartupCommand.php b/application/ship-simu/main/commands/web/goverment/class_WebShipsimuGovermentStartupCommand.php index 18a3bc0..cd203e5 100644 --- a/application/ship-simu/main/commands/web/goverment/class_WebShipsimuGovermentStartupCommand.php +++ b/application/ship-simu/main/commands/web/goverment/class_WebShipsimuGovermentStartupCommand.php @@ -72,19 +72,19 @@ class WebShipsimuGovermentStartupCommand extends BaseCommand implements Commanda */ public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) { // Add user auth filter (we don't need an update of the user here because it will be redirected) - $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_auth_filter')); + $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_auth_filter', array($controllerInstance))); // Add user status filter here - $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter')); + $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter', array($controllerInstance))); // Check if goverment can pay startup help - $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('goverment_pays_startup_help_filter')); + $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('goverment_pays_startup_help_filter', array($controllerInstance))); // Verify password - $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('account_password_filter')); + $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('account_password_filter', array($controllerInstance))); // Verify CAPTCHA code - $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('captcha_refill_verifier_filter')); + $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('captcha_refill_verifier_filter', array($controllerInstance))); } }