[#114] Readded invites_enabled config setting, updated readme.
This commit is contained in:
parent
a89e3b4b60
commit
9666376f5f
2 changed files with 4 additions and 2 deletions
|
|
@ -166,7 +166,8 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do
|
|||
textlimit: to_string(Keyword.get(instance, :limit)),
|
||||
closed: if(Keyword.get(instance, :registrations_open), do: "0", else: "1"),
|
||||
private: if(Keyword.get(instance, :public, true), do: "0", else: "1"),
|
||||
vapidPublicKey: vapid_public_key
|
||||
vapidPublicKey: vapid_public_key,
|
||||
invitesEnabled: if(Keyword.get(instance, :invites_enabled, false), do: "1", else: "0")
|
||||
}
|
||||
|
||||
pleroma_fe = %{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue