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 9fff786 commit 8e7f784Copy full SHA for 8e7f784
app/code/Magento/Customer/Controller/Plugin/Account.php
@@ -50,7 +50,7 @@ public function aroundDispatch(
50
$pattern = '/^(' . implode('|', $this->allowedActions) . ')$/i';
51
52
if (!preg_match($pattern, $action)) {
53
- if (!$this->session->authenticate($subject)) {
+ if (!$this->session->authenticate()) {
54
$subject->getActionFlag()->set('', ActionInterface::FLAG_NO_DISPATCH, true);
55
}
56
} else {
app/code/Magento/Customer/Test/Unit/Controller/Plugin/AccountTest.php
@@ -112,7 +112,6 @@ public function testAroundDispatch(
112
113
$this->session->expects($this->once())
114
->method('authenticate')
115
- ->with($this->subject)
116
->willReturn($isAuthenticated);
117
if (!$isAuthenticated) {
118
$this->subject->expects($this->once())
0 commit comments