Skip to content

Commit

Permalink
Update docs on how to disable basic auth on test envs
Browse files Browse the repository at this point in the history
  • Loading branch information
scott1702 committed Feb 7, 2019
1 parent 35f9bac commit b48c91b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/en/03_How_tos/basic_auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,14 @@ following code in your `config.yml`:
---
Name: mysitesecuritytest
After: '#cwpsecuritytest'
Only:
environment: test
---
SilverStripe\Security\BasicAuth:
entire_site_protected: false
SilverStripe\Core\Injector\Injector:
SilverStripe\Security\BasicAuthMiddleware:
properties:
URLPatterns:
'#.*#': false
```
## Enabling in production
Expand Down

0 comments on commit b48c91b

Please sign in to comment.