0

I have implemented this logic to logout customer after registration, Its only working before logging in a new user.

After clearing cache and when I register a user it logout the user and for second third ... it works perferct, If I login a user and come back and create a new user it's not working it takes me to home page.

If I clear cache again it works. Not sure why its happening.

Magento 2 - Redirect user to specific page after register

fernandus
  • 484
  • 8
  • 28
  • Write your code here, how you have tried. – Sohel Rana Jan 02 '19 at 12:30
  • I am using this extension https://github.com/amitshree/magento2-account-approval this extension has the same code with https://magento.stackexchange.com/questions/131850/magento-2-redirect-user-to-specific-page-after-register no changes with the code i did. – fernandus Jan 02 '19 at 14:16

0 Answers0