Skip to content

Commit 87e7860

Browse files
committed
MC-22950: Enable 2FA by default for Admins
- Fixed typo causing providers to not be selected
1 parent 64858b3 commit 87e7860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TwoFactorAuth/Controller/Adminhtml/Tfa/Configurepost.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function execute()
120120
if ($this->validate($selected)) {
121121
$this->configResource->saveConfig(
122122
TfaInterface::XML_PATH_FORCED_PROVIDERS,
123-
implode(', ',array_keys($selected))
123+
implode(',', array_keys($selected))
124124
);
125125
$this->config->reinit();
126126
$this->getMessageManager()->addSuccessMessage(

0 commit comments

Comments
 (0)