Skip to content

Commit f8224a7

Browse files
CABPI-381 - 2FA module disabling
- updating config value for the checking if 2FA must be enabled/disabled
1 parent 042191a commit f8224a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TwoFactorAuth/Observer/ControllerActionPredispatch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ private function redirect(string $url): void
139139
public function execute(Observer $observer)
140140
{
141141
if ($this->moduleManager->isEnabled('Magento_AdminAdobeIms')
142-
&& !$this->scopeConfig->isSetFlag('adobe_ims/integration/two_factor')) {
142+
&& $this->scopeConfig->isSetFlag('adobe_ims/integration/adobe_ims_2fa_enabled')) {
143143
return;
144144
}
145145
/** @var $controllerAction AbstractAction */

0 commit comments

Comments
 (0)