You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/install.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,12 @@
12
12
13
13
These instructions assume that you have already [installed the CodeIgniter 4 app starter](https://codeigniter.com/user_guide/installation/installing_composer.html) as the basis for your new project, set up your `.env` file, and created a database that you can access via the Spark CLI script.
14
14
15
+
> **Note**
16
+
> CodeIgniter Shield requires Codeigniter v4.2.3 or later.
17
+
18
+
> **Note**
19
+
> You must set ``Config\Security::$csrfProtection`` to `'session'` (or set `security.csrfProtection = session` in your `.env` file) for security reasons, if you use Session Authenticator.
20
+
15
21
Installation is done through [Composer](https://getcomposer.org). The example assumes you have it installed globally.
16
22
If you have it installed as a phar, or othewise you will need to adjust the way you call composer itself.
0 commit comments