Solved

You Are Tasked with Ensuring Customers Who Log into the Site

Question 33

Multiple Choice

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions