diff options
author | Stephanie Wilde-Hobbs <steph@rx14.co.uk> | 2020-05-12 17:12:27 +0100 |
---|---|---|
committer | Stephanie Wilde-Hobbs <steph@rx14.co.uk> | 2020-05-12 17:12:27 +0100 |
commit | 620247a015f6cd894a119bb5173a3da7e5913064 (patch) | |
tree | 3af3f459179fb76ccbb7f496079660dacfe66683 /docs/configuration | |
parent | f8190aea5e68a6e17ccc88b13486bd69c3b08450 (diff) | |
download | pleroma-620247a015f6cd894a119bb5173a3da7e5913064.tar.gz |
Add database configuration whitelist
Diffstat (limited to 'docs/configuration')
-rw-r--r-- | docs/configuration/cheatsheet.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md index 707d7fdbd..7b7a332c7 100644 --- a/docs/configuration/cheatsheet.md +++ b/docs/configuration/cheatsheet.md @@ -911,6 +911,17 @@ config :auto_linker, Boolean, enables/disables in-database configuration. Read [Transfering the config to/from the database](../administration/CLI_tasks/config.md) for more information. +## :database_config_whitelist + +List of valid configuration sections which are allowed to be configured from the database. + +Example: +```elixir +config :pleroma, :database_config_whitelist, [ + {:pleroma, :instance}, + {:pleroma, Pleroma.Web.Metadata} +] +``` ### Multi-factor authentication - :two_factor_authentication * `totp` - a list containing TOTP configuration |