Skip to content

Commit 54df4ad

Browse files
author
Dale Sikkema
committed
Merge branch 'MAGETWO-36837-authentication-bypass' of https://github.corp.ebay.com/magento-extensibility/magento2ce into MAGETWO-36837-authentication-bypass
2 parents 5414b0b + 929667a commit 54df4ad

File tree

1 file changed

+10
-0
lines changed
  • app/code/Magento/Captcha/Controller/Adminhtml/Refresh

1 file changed

+10
-0
lines changed

app/code/Magento/Captcha/Controller/Adminhtml/Refresh/Refresh.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,14 @@ public function execute()
2727
$this->getResponse()->representJson(json_encode(['imgSrc' => $captchaModel->getImgSrc()]));
2828
$this->_actionFlag->set('', self::FLAG_NO_POST_DISPATCH, true);
2929
}
30+
31+
/**
32+
* Check if user has permissions to access this controller
33+
*
34+
* @return bool
35+
*/
36+
protected function _isAllowed()
37+
{
38+
return true;
39+
}
3040
}

0 commit comments

Comments
 (0)