Skip to content

Commit

Permalink
#10611 Ignore request key check for error page to avoid redirect loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasz Bajsarowicz committed Sep 17, 2017
1 parent e649b4c commit 2f422ad
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 2f422ad

Please sign in to comment.