diff --git a/src/GoalioForgotPassword/Form/ResetFilter.php b/src/GoalioForgotPassword/Form/ResetFilter.php index bb5a413..1371701 100644 --- a/src/GoalioForgotPassword/Form/ResetFilter.php +++ b/src/GoalioForgotPassword/Form/ResetFilter.php @@ -2,7 +2,7 @@ namespace GoalioForgotPassword\Form; -use Zend\InputFilter\InputFilter; +use ZfcBase\InputFilter\ProvidesEventsInputFilter as InputFilter; use GoalioForgotPassword\Options\ForgotOptionsInterface; class ResetFilter extends InputFilter @@ -46,5 +46,7 @@ public function __construct(ForgotOptionsInterface $options) array('name' => 'StringTrim'), ), )); + + $this->getEventManager()->trigger('init', $this); } } diff --git a/src/GoalioForgotPassword/Module.php b/src/GoalioForgotPassword/Module.php index 78b398c..7457752 100644 --- a/src/GoalioForgotPassword/Module.php +++ b/src/GoalioForgotPassword/Module.php @@ -20,6 +20,10 @@ public function getConfig() { return include __DIR__ . '/../../config/module.config.php'; } + public function getModuleDependencies() { + return array('ZfcUser', 'ZfcBase'); + } + public function getServiceConfig() { return array( 'invokables' => array(