Skip to content

Commit

Permalink
MAGETWO-75326: #10611 Ignore request key check for error page to avoi…
Browse files Browse the repository at this point in the history
…d redirect loop #10921
  • Loading branch information
vrann authored Sep 28, 2017
2 parents b829f23 + b8086d2 commit a625680
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/code/Magento/Backend/Controller/Adminhtml/Noroute/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,14 @@ public function execute()
$resultPage->addHandle('adminhtml_noroute');
return $resultPage;
}

/**
* Error page should be public accessible. Do not check keys to avoid redirect loop
*
* @return bool
*/
protected function _validateSecretKey()
{
return true;
}
}

0 comments on commit a625680

Please sign in to comment.