diff options
author | lain <lain@soykaf.club> | 2020-05-15 13:33:04 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-05-15 13:33:04 +0200 |
commit | f012c3a202ef43d1a8a1dc88f08057b7a41d3d78 (patch) | |
tree | a3847182efa357bce56c12d6253492dc0cc2b894 /docs/configuration/cheatsheet.md | |
parent | 1d18721a3c60aa0acc7d1ba858a92277e544a54a (diff) | |
parent | 081d1d3f48f2264ee329f7ff7af7c2f88fe0a654 (diff) | |
download | pleroma-f012c3a202ef43d1a8a1dc88f08057b7a41d3d78.tar.gz |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
Diffstat (limited to 'docs/configuration/cheatsheet.md')
-rw-r--r-- | docs/configuration/cheatsheet.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md index 707d7fdbd..1078c4e87 100644 --- a/docs/configuration/cheatsheet.md +++ b/docs/configuration/cheatsheet.md @@ -911,6 +911,21 @@ 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. Settings stored in the database before the whitelist is configured are +still applied, so it is suggested to only use the whitelist on instances that +have not migrated the config to the database. + +Example: +```elixir +config :pleroma, :database_config_whitelist, [ + {:pleroma, :instance}, + {:pleroma, Pleroma.Web.Metadata}, + {:auto_linker} +] +``` ### Multi-factor authentication - :two_factor_authentication * `totp` - a list containing TOTP configuration |