Skip to content

Commit 09a7cf3

Browse files
authored
Merge pull request #870 from kenjis/fix-docs-install-csrfProtection
docs: remove `Config\Security::$csrfProtection` config method by `.env`
2 parents a5483f9 + 679a569 commit 09a7cf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/getting_started/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ your project.
136136
service('auth')->routes($routes);
137137
```
138138

139-
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.
139+
4. **Security Setup** Set `Config\Security::$csrfProtection` to `'session'` for security reasons, if you use Session Authenticator.
140140

141141
5. **Migration** Run the migrations.
142142

0 commit comments

Comments
 (0)