prosody: Disable user invitations for restricted users
Note that this currently has no effect, because user and contact invitations are disabled globally for non-admins.
This commit is contained in:
parent
263d5cf286
commit
40daaa883b
|
@ -141,6 +141,9 @@ registration_invite_only = true
|
|||
-- over what happens when a user invites someone.
|
||||
allow_contact_invites = false
|
||||
|
||||
-- Disallow restricted users to create invitations to the server
|
||||
deny_user_invites_by_roles = { "prosody:restricted" }
|
||||
|
||||
invites_page = ENV_SNIKKET_INVITE_URL or ("https://"..DOMAIN.."/invite/{invite.token}/");
|
||||
invites_page_external = true
|
||||
|
||||
|
|
Loading…
Reference in New Issue