Add account_activation_required to /api/v1/instance

This commit is contained in:
Alex Gleason 2020-05-29 15:16:44 -05:00
parent 660d49227b
commit 954acdda20
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -36,6 +36,7 @@ def render("show.json", _) do
background_image: Keyword.get(instance, :background_image),
pleroma: %{
metadata: %{
account_activation_required: Keyword.get(instance, :account_activation_required),
features: features(),
federation: federation()
},