Add `account_activation_required` to /api/v1/instance
This commit is contained in:
parent
660d49227b
commit
954acdda20
|
@ -36,6 +36,7 @@ def render("show.json", _) do
|
||||||
background_image: Keyword.get(instance, :background_image),
|
background_image: Keyword.get(instance, :background_image),
|
||||||
pleroma: %{
|
pleroma: %{
|
||||||
metadata: %{
|
metadata: %{
|
||||||
|
account_activation_required: Keyword.get(instance, :account_activation_required),
|
||||||
features: features(),
|
features: features(),
|
||||||
federation: federation()
|
federation: federation()
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue