Invite button for all

There is the setting

default invitee trust level [default: 1]
Default trust level (0-4) for invited users.

But there is also this that may be involved.

enable local logins [default: enabled]
Enable local username and password login based accounts. (Note: this must be enabled for invites to work)