Page 1 of 1

Email Registration Whitelist

Posted: Thu Jan 16, 2020 6:14 am
by nickjdunn
Hi, I am needing some help finding a solution to a problem. I am running Opencart 3.0.3.2 with Journal 3 Theme and need a way to only let users with a specific email address register accounts and everyone else is denied. I am building a company store for a business with many locations and high turn over. They want a way that any employee can go to this site and quickly login with their company email and place an order without having to wait for accounts to get approved or added to the system. If anyone can help me out or suggest a module that would be awesome!
Thanks!

Re: Email Registration Whitelist

Posted: Thu Jan 16, 2020 8:22 am
by IP_CAM
You better place such Inquiries into the commercial Forum Section,
it's all about a commercial Theme, and a commercial Application.
Ernie

Re: Email Registration Whitelist

Posted: Thu Jan 16, 2020 10:13 pm
by letxobnav
first, this info is totally irrelevant.
I am building a company store for a business with many locations and high turn over.
and better formulate your requirement because
only let users with a specific email address register accounts
and
login with their company email and place an order without having to wait for accounts to get approved or added to the system.
are mutually exclusive.

In any event, better let their HR add the company email accounts in bulk and email out the passwords and remove register account from front-end.

Re: Email Registration Whitelist

Posted: Fri Jan 17, 2020 5:06 am
by thekrotek
Ban System extension can help you achieve this. However, you should know some regex to create a valid regular expression, which will test given email.

Re: Email Registration Whitelist

Posted: Fri Jan 17, 2020 11:58 am
by letxobnav
• email EQUALS example@example.com is nice but all is needed is to whitelist the company domain, not block individual email addresses (good luck with that)
• firstname EQUALS John AND lastname EQUALS Doe is useless (block names, really?)
• email LIKE support OR email LIKE sales OR email LIKE admin equally useless

Re: Email Registration Whitelist

Posted: Fri Jan 17, 2020 3:08 pm
by thekrotek
letxobnav wrote:
Fri Jan 17, 2020 11:58 am
• email EQUALS example@example.com is nice but all is needed is to whitelist the company domain, not block individual email addresses (good luck with that)
• firstname EQUALS John AND lastname EQUALS Doe is useless (block names, really?)
• email LIKE support OR email LIKE sales OR email LIKE admin equally useless
This is why I said to use regular expressions.

Re: Email Registration Whitelist

Posted: Fri Jan 17, 2020 4:24 pm
by letxobnav
they are company email addresses, I am sure they all have xxxx@company.com so all you need is to check the domain no regex needed for that.
but as stated, they don't want users have to "wait for accounts to get approved or added to the system".
So if the users cannot be bothered with the burdon of registering, let HR pre-register users via back-end and shut down front-end registration.