Hi <!here|@here>, our SCA Mont Blanc webstore is c...
# suitecommerce
s
Hi <!here|@here>, our SCA Mont Blanc webstore is currently allowing users to register using an email address that is already used by another account.
s
you'll have to do duplicate email detection yourself I'm afraid - AFAIK it's not supported out of the box in Mont Blanc
s
Hi thanks for your response, apologies for my late reply. I cant query the Customers table because the script executes under role
Customer Center
which doesn't have access to the
Customers
table. I need to query that table for any customers who have a given email. Any ideas how I can implement this? Any advice would be extremely helpful.
s
I'd recommend you create a custom service (.ss) and have it execute as a role that DOES have permissions to do that check. Another option is to add a userevent before submit that runs the dupe check. That UE could run as a higher priv role.
s
Thanks I'll give the service ago. Much appreciated.