Skip to content

Commit

Permalink
Merge pull request #171 from magento-cia/cia-2.4.8-beta1-develop-bugf…
Browse files Browse the repository at this point in the history
…ix-09032024

Cia 2.4.8 beta1 develop bugfix 09032024
  • Loading branch information
pawan-adobe-security authored Sep 5, 2024
2 parents d3a759b + 19bfa97 commit 6b9e6ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion TwoFactorAuth/Controller/Adminhtml/Tfa/Reset.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public function execute()
*/
protected function _isAllowed()
{
return parent::_isAllowed() && $this->_authorization->isAllowed('Magento_TwoFactorAuth::tfa');
return parent::_isAllowed() && $this->_authorization->isAllowed('Magento_TwoFactorAuth::tfa')
&& $this->_authorization->isAllowed('Magento_User::acl_users');
}
}

0 comments on commit 6b9e6ca

Please sign in to comment.