on 2019 Mar 25 10:36 PM
Hi,
I have to create the functionality for not allowing the customer login in to the site based on some business logic if that business login returns true then customer should be login or if business logic returns false then customer should not be logged in and customer should be on Login page only.
Could you please help me how we can restrict the customer login.
Thank you for any help you can offer
Request clarification before answering.
Hello
Create a cron job, which execute the business logic and identify the user who is not supposed to be logged in to the storefront. Then disable that user. So that user cannot be able to login until you enable it back.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.