We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32adddb commit b4d78e7Copy full SHA for b4d78e7
app/code/Magento/LoginAsCustomerAssistance/Plugin/CustomerDataValidatePlugin.php
@@ -47,12 +47,16 @@ public function __construct(
47
*
48
* @param Form $subject
49
* @param RequestInterface $request
50
+ * @param null|string $scope
51
+ * @param bool $scopeOnly
52
* @throws Exception
53
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
54
*/
55
public function beforeExtractData(
56
Form $subject,
- RequestInterface $request
57
+ RequestInterface $request,
58
+ $scope = null,
59
+ $scopeOnly = true
60
): void {
61
if ($this->isSetAssistanceAllowedParam($request)
62
&& !$this->authorization->isAllowed('Magento_LoginAsCustomer::allow_shopping_assistance')
0 commit comments