forked from AkkomaGang/akkoma
Apply suggestion to lib/pleroma/web/admin_api/admin_api_controller.ex
This commit is contained in:
parent
c8bfbf511e
commit
4c60fdcbb1
1 changed files with 1 additions and 1 deletions
|
@ -592,7 +592,7 @@ def email_invite(%{assigns: %{user: user}} = conn, %{"email" => email} = params)
|
|||
{:registrations_open, _} ->
|
||||
errors(
|
||||
conn,
|
||||
{:error, "To send invites you need set `registrations_open` option to false."}
|
||||
{:error, "To send invites you need to set the `registrations_open` option to false."}
|
||||
)
|
||||
|
||||
{:invites_enabled, _} ->
|
||||
|
|
Loading…
Reference in a new issue