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 501e370 commit 79a3a1aCopy full SHA for 79a3a1a
app/code/Magento/Customer/Controller/Plugin/Account.php
@@ -60,12 +60,10 @@ public function __construct(
60
*/
61
public function aroundExecute(AccountInterface $controllerAction, Closure $proceed)
62
{
63
- if ($this->isActionAllowed()) {
+ /** @FIXME Move Authentication and redirect out of Session model */
64
+ if ($this->isActionAllowed() || $this->session->authenticate()) {
65
return $proceed();
66
}
-
67
- /** @FIXME Move Authentication and redirect out of Session model */
68
- $this->session->authenticate();
69
70
71
/**
0 commit comments