I need to logout the user after successful registration. How can I achieve this,
Is there a admin settings in backend to do this.
customerloginlogoutmagento2registration
I need to logout the user after successful registration. How can I achieve this,
Is there a admin settings in backend to do this.
Best Answer
How about going in the Magento backend, and set up the account setting to require customer to confirm his email (see screenshot below)
with this setting, once your customer has created his account, he won't be logged in. The screen will be like below: