Require unique email on user registration

I’ve just installed xWiki onto a server at work. I’ve already restricted the register page to only allow our corporate email domains but when testing I’m allowed to register multiple accounts under different usernames but with the same email address.

Is there any way to force the account registration page to perform a database check to ensure the email being registered is unique to prevent people creating multiple accounts?

I’ve had a good search around and can’t find anyone who’s already asked this but if it has been asked and explained already please point me in the right direction.

Thanks in advance.

I don’t think there is an easy switch for this but looks like you can do this validation with a small script according to

It doesn’t seem easy given I can’t find much on the subject. Thanks for posting that link. I’ve had a brief look and I think I can get something together for this.

Thank you.