Skip to content

Commit

Permalink
Disable secret key validation on admin noroute to fix redirect loop
Browse files Browse the repository at this point in the history
Similar to 2f422ad but using the framework.

Fixes issue magento#10611 for the `2.2-develop` branch.

Doesn't address the route cause, but only fixes the symptom as per magento#10921 (comment)
  • Loading branch information
convenient committed Oct 4, 2017
1 parent 9c14af7 commit ded7e67
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

class Index extends \Magento\Backend\App\Action
{
/**
* Array of actions which can be processed without secret key validation
*
* @var string[]
*/
protected $_publicActions = ['index'];

/**
* @var \Magento\Framework\View\Result\PageFactory
*/
Expand Down

0 comments on commit ded7e67

Please sign in to comment.