Add `account_activation_required` to /api/v1/instance
[akkoma] / lib / pleroma / web / mastodon_api / views / instance_view.ex
index 6a630eafac491d87a524e39090a98be294ccd25d..bb7bd2a9fa459bf108128966cae8eaf6bb5e7162 100644 (file)
@@ -36,6 +36,7 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do
       background_image: Keyword.get(instance, :background_image),
       pleroma: %{
         metadata: %{
+          account_activation_required: Keyword.get(instance, :account_activation_required),
           features: features(),
           federation: federation()
         },