Skip to content

Commit 582a6ae

Browse files
committed
docs: add note for filter $aliases
1 parent f93a3bb commit 582a6ae

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/quick_start_guide/using_session_auth.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,12 @@ public $globals = [
106106
];
107107
```
108108

109+
!!! note
110+
111+
The filter `$aliases` that Shield provides are automatically added for you by the
112+
[Registrar](https://codeigniter.com/user_guide/general/configuration.html#registrars)
113+
class located at **src/Config/Registrar.php**. So you don't need to add in
114+
your **app/Config/Filters.php**.
115+
109116
Check your filters with the [spark routes](https://codeigniter.com/user_guide/incoming/routing.html#spark-routes)
110117
command.

0 commit comments

Comments
 (0)