fix another example #291
This commit is contained in:
@ -53,8 +53,7 @@ Event::on(RecoveryController::class, FormEvent::EVENT_BEFORE_REQUEST, function (
|
|||||||
$form = $event->getForm();
|
$form = $event->getForm();
|
||||||
|
|
||||||
// ... your logic here
|
// ... your logic here
|
||||||
}
|
});
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Now, include `events.php` file to your entry script (i.e. `index.php`). The following is taken from the Yii 2 Advanced
|
Now, include `events.php` file to your entry script (i.e. `index.php`). The following is taken from the Yii 2 Advanced
|
||||||
|
|||||||
Reference in New Issue
Block a user