stop user registration on Elgg website and registration with Email invitation

hello, I am new on Elgg,

I search in Elgg setting to close user registration, but I can't find this ability. how can I close Elgg website registration? I search for plugin but I don't found anything.

can I change user registration type on Elgg website? for example, all present users can send invitation and only invited users can register on website.