$wgGroupPermissions['*']['createaccount'] = false;
Fill in one of the fields to receive a temporary password via email.