projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix format
[akkoma]
/
config
/
config.exs
diff --git
a/config/config.exs
b/config/config.exs
index f44837e24efe38ec3dfc8b234f1e1bb5fa636309..e703c1632fbfe2974c790605a0e7c55fcff0f862 100644
(file)
--- 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,
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, :extensions, output_relationships_in_statuses_by_default: true
@@
-336,7
+347,8
@@
config :pleroma, :mrf_simple,
reject: [],
accept: [],
avatar_removal: [],
reject: [],
accept: [],
avatar_removal: [],
- banner_removal: []
+ banner_removal: [],
+ reject_deletes: []
config :pleroma, :mrf_keyword,
reject: [],
config :pleroma, :mrf_keyword,
reject: [],
@@
-561,8
+573,6
@@
config :pleroma, :email_notifications,
inactivity_threshold: 7
}
inactivity_threshold: 7
}
-config :pleroma, :notifications, enable_follow_request_notifications: false
-
config :pleroma, :oauth2,
token_expires_in: 600,
issue_new_refresh_token: true,
config :pleroma, :oauth2,
token_expires_in: 600,
issue_new_refresh_token: true,
@@
-654,6
+664,8
@@
config :pleroma, :restrict_unauthenticated,
profiles: %{local: false, remote: false},
activities: %{local: false, remote: false}
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"
# 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"