How is this done?

You are tasked with ensuring customers who log into the site are authorized. By default, this consists of ensuring the customers email and password match the values in the database. On this project, you need to verify additional data in this process. Keeping in mind upgradeability, how is this done?

A. Create a before plugin for MagentoCustomerApiAccountManagementInterface’s authenticate method
B. Create a mutation of a CustomerInterface object to intercept the username and password
C. Create an event observer for the user_save_after observer
D. Override MagentoCustomerControllerAccountController.php

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x