X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=config%2Fconfig.exs;h=c51884f3aa05efec46499789679635a46cd73f74;hb=01bd6a1e54c8734e8965f153a9406cecc07950f3;hp=7f013aaad71f65d279b7f1bdb027370f17c6c0c4;hpb=98b96e45ababecb7554232787968f2f326f24e54;p=akkoma diff --git a/config/config.exs b/config/config.exs index 7f013aaad..c51884f3a 100644 --- a/config/config.exs +++ b/config/config.exs @@ -238,9 +238,18 @@ config :pleroma, :instance, account_field_value_length: 2048, external_user_synchronization: true, extended_nickname_format: true, - cleanup_attachments: false - -config :pleroma, :extensions, output_relationships_in_statuses_by_default: true + cleanup_attachments: false, + multi_factor_authentication: [ + totp: [ + # digits 6 or 8 + digits: 6, + period: 30 + ], + backup_codes: [ + number: 5, + length: 16 + ] + ] config :pleroma, :feed, post_title: %{ @@ -336,7 +345,8 @@ config :pleroma, :mrf_simple, reject: [], accept: [], avatar_removal: [], - banner_removal: [] + banner_removal: [], + reject_deletes: [] config :pleroma, :mrf_keyword, reject: [], @@ -652,6 +662,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"