Add a config option to enable strict validation
This commit is contained in:
parent
4b9ab67aa8
commit
f070b5569c
2 changed files with 14 additions and 5 deletions
|
|
@ -653,6 +653,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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue