Documentation for disabling user profiles

This commit is contained in:
zanderwar 2017-11-03 08:32:25 +13:00
parent 3d8f0941ed
commit 2e01219e8f
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
## Configuring user profiles
This module ships with User Profiles enabled by default.
If you'd prefer to disable this functionality and instead return a 404 for the `/profile/` page, you can do so using SilverStripe config.
In mysite/_config/settings.yml
```yaml
SilverStripe\Blog\Model\BlogController:
disable_profiles: true
```