Skip to content

Commit dae5657

Browse files
committed
AC-10332: Tfa reset access
1 parent 3d82f43 commit dae5657

File tree

1 file changed

+2
-1
lines changed
  • TwoFactorAuth/Controller/Adminhtml/Tfa

1 file changed

+2
-1
lines changed

TwoFactorAuth/Controller/Adminhtml/Tfa/Reset.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public function execute()
8989
*/
9090
protected function _isAllowed()
9191
{
92-
return parent::_isAllowed() && $this->_authorization->isAllowed('Magento_TwoFactorAuth::tfa');
92+
return parent::_isAllowed() && $this->_authorization->isAllowed('Magento_TwoFactorAuth::tfa')
93+
&& $this->_authorization->isAllowed('Magento_User::acl_users');
9394
}
9495
}

0 commit comments

Comments
 (0)