Skip to content

Commit 41a59c4

Browse files
sol-loupjczhuoMeta
andauthored
Adding a 'magic parameter' allowing fbeadmin url to no longer require a secret key (#812)
Co-authored-by: jczhuoMeta <[email protected]>
1 parent c2ec919 commit 41a59c4

File tree

1 file changed

+6
-0
lines changed
  • app/code/Meta/BusinessExtension/Controller/Adminhtml/Setup

1 file changed

+6
-0
lines changed

app/code/Meta/BusinessExtension/Controller/Adminhtml/Setup/Index.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ class Index extends Action implements HttpGetActionInterface
3333
*/
3434
private $resultPageFactory;
3535

36+
/**
37+
* Needed to prevent secret url generation on the fbeadmin page.
38+
* @var array
39+
*/
40+
protected $_publicActions = ['index'];
41+
3642
/**
3743
* Constructor
3844
*

0 commit comments

Comments
 (0)