projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a config option to enable strict validation
[akkoma]
/
config
/
config.exs
diff --git
a/config/config.exs
b/config/config.exs
index 7f013aaad71f65d279b7f1bdb027370f17c6c0c4..ca9bbab6480c43ccebaecaca106ad22c8059bd6c 100644
(file)
--- a/
config/config.exs
+++ b/
config/config.exs
@@
-336,7
+336,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: [],
@@
-652,6
+653,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"