Restrict account creation to specified email domains doesn't work

In Users and Team menu of System Consol the field “Restrict account creation to specified email domains” offers to restrict account creation to specific domains
I’ve tried several times, it doesn’t work.
Server sends invitation to all users even if they are not in the allowed domain.

Hi @ChrisDan. Were the users able to create the accounts after receiving the email invitations? The users should hit an error on account creation if the email they sign up with does not match one of the specified domains.