Skip to content

Commit

Permalink
Merge pull request #870 from kenjis/fix-docs-install-csrfProtection
Browse files Browse the repository at this point in the history
docs: remove `Config\Security::$csrfProtection` config method by `.env`
  • Loading branch information
kenjis authored Oct 2, 2023
2 parents a5483f9 + 679a569 commit 09a7cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting_started/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ your project.
service('auth')->routes($routes);
```

4. **Security Setup** Set `Config\Security::$csrfProtection` to `'session'` (or set `security.csrfProtection = session` in your **.env** file) for security reasons, if you use Session Authenticator.
4. **Security Setup** Set `Config\Security::$csrfProtection` to `'session'` for security reasons, if you use Session Authenticator.

5. **Migration** Run the migrations.

Expand Down

0 comments on commit 09a7cf3

Please # to comment.