Allow registration only for specific email domains

Would be cool to allow only specific email domains for registration on selfhosted instances.

Example allow only @company.org

That would be a great option. I would love to allow registrations for specific domains. Right now I have to deactivate the registration option and reactivate it when needed. Alternatively an invite option could possibly be a way. Invites are as far as I know only possible within organisations.

Great idea. I need to restrict access.

+1 - otherwise a public instance can be used by anyone that finds it