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 \Magento\Customer\Api\AccountManagementInterface'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 \Magento\Customer\Controller\AccountController.php
Correct Answer:
Verified
Q50: You are building a report using complex
Q51: Magento allows you to specify custom values
Q52: You have configured an event observer to
Q53: What happens when a category's is_anchor attribute
Q54: A merchant requires the ability to configure
Q56: What is the connection between product attribute
Q57: There are two different configurable products which
Q58: You have created a new section in
Q59: You are debugging a problem resulting from
Q60: How do you persist an entity to
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents