X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=config%2Fconfig.exs;h=e703c1632fbfe2974c790605a0e7c55fcff0f862;hb=d15aa9d9503e59b3cd0731394855781f435ec63c;hp=232a91bf132c8063f8f0f730121bb68eade6ad6f;hpb=fd932b14a7e7335a91a2acc2d6dd6fba7e2e90b3;p=akkoma diff --git a/config/config.exs b/config/config.exs index 232a91bf1..e703c1632 100644 --- a/config/config.exs +++ b/config/config.exs @@ -238,7 +238,20 @@ 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 config :pleroma, :feed, post_title: %{ @@ -334,7 +347,8 @@ config :pleroma, :mrf_simple, reject: [], accept: [], avatar_removal: [], - banner_removal: [] + banner_removal: [], + reject_deletes: [] config :pleroma, :mrf_keyword, reject: [], @@ -650,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"