Skip to content

Commit ded7e67

Browse files
committed
Disable secret key validation on admin noroute to fix redirect loop
Similar to 2f422ad but using the framework. Fixes issue #10611 for the `2.2-develop` branch. Doesn't address the route cause, but only fixes the symptom as per #10921 (comment)
1 parent 9c14af7 commit ded7e67

File tree

1 file changed

+7
-0
lines changed
  • app/code/Magento/Backend/Controller/Adminhtml/Noroute

1 file changed

+7
-0
lines changed

app/code/Magento/Backend/Controller/Adminhtml/Noroute/Index.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88

99
class Index extends \Magento\Backend\App\Action
1010
{
11+
/**
12+
* Array of actions which can be processed without secret key validation
13+
*
14+
* @var string[]
15+
*/
16+
protected $_publicActions = ['index'];
17+
1118
/**
1219
* @var \Magento\Framework\View\Result\PageFactory
1320
*/

0 commit comments

Comments
 (0)