diff options
| author | lain <lain@soykaf.club> | 2020-05-07 14:45:20 +0200 |
|---|---|---|
| committer | lain <lain@soykaf.club> | 2020-05-07 14:45:20 +0200 |
| commit | f0c22df2265e922a66ca69c3508fe812b8e20b6b (patch) | |
| tree | be510abc9cc9154e07b2ec9eaf344e6e4e88bed1 /config/config.exs | |
| parent | 92caae592338a3ca307686e7644f2de18bb57ce5 (diff) | |
| parent | 4c92dfb73ef1f40438adf5da009499205a677912 (diff) | |
| download | pleroma-f0c22df2265e922a66ca69c3508fe812b8e20b6b.tar.gz pleroma-f0c22df2265e922a66ca69c3508fe812b8e20b6b.zip | |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/undo-validator-reduced
Diffstat (limited to 'config/config.exs')
| -rw-r--r-- | config/config.exs | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs index a6c6d6f99..e703c1632 100644 --- a/config/config.exs +++ b/config/config.exs @@ -238,7 +238,18 @@ config :pleroma, :instance, account_field_value_length: 2048, external_user_synchronization: true, extended_nickname_format: true, - cleanup_attachments: false + cleanup_attachments: false, + multi_factor_authentication: [ + totp: [ + # digits 6 or 8 + digits: 6, + period: 30 + ], + backup_codes: [ + number: 5, + length: 16 + ] + ] config :pleroma, :extensions, output_relationships_in_statuses_by_default: true @@ -653,6 +664,8 @@ config :pleroma, :restrict_unauthenticated, profiles: %{local: false, remote: false}, activities: %{local: false, remote: false} +config :pleroma, Pleroma.Web.ApiSpec.CastAndValidate, strict: false + # Import environment specific config. This must remain at the bottom # of this file so it overrides the configuration defined above. import_config "#{Mix.env()}.exs" |
