mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Documentation for disabling user profiles
This commit is contained in:
parent
3d8f0941ed
commit
2e01219e8f
12
docs/en/configuring-user-profiles.md
Normal file
12
docs/en/configuring-user-profiles.md
Normal 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
|
||||
```
|
Loading…
Reference in New Issue
Block a user