Skip to content

Commit a625680

Browse files
authored
MAGETWO-75326: #10611 Ignore request key check for error page to avoid redirect loop #10921
2 parents b829f23 + b8086d2 commit a625680

File tree

1 file changed

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

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,14 @@ public function execute()
3939
$resultPage->addHandle('adminhtml_noroute');
4040
return $resultPage;
4141
}
42+
43+
/**
44+
* Error page should be public accessible. Do not check keys to avoid redirect loop
45+
*
46+
* @return bool
47+
*/
48+
protected function _validateSecretKey()
49+
{
50+
return true;
51+
}
4252
}

0 commit comments

Comments
 (0)