From 974195b902c02f9a65c2fdd1217643e8ccd30fd5 Mon Sep 17 00:00:00 2001 From: Antonio Ramirez Date: Sun, 15 Oct 2017 22:20:37 +0200 Subject: [PATCH] Close #83 add note regarding replaced events. --- docs/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/index.md b/docs/index.md index 0c5f391..248f96f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -140,6 +140,9 @@ Events Events are a good way to execute logic before and after certain processes. Yii2 Usuario comes with a huge list of them. +One important thing to remember is that this module overrides those of `yii\web\User`. They will simply not work, you +*must* use those specified on this module. + The recommended way to make use of events is by creating a new file in your config folder (i.e. `events.php`), configure there all your events and then include that file on your [`entry script`](http://www.yiiframework.com/doc-2.0/guide-structure-entry-scripts.html).