You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Adobe Commerce 2.4.8 core issue with ``--lock-env``**
197
+
198
+
Until [this core issue](https://github.com/magento/magento2/issues/39836) is addressed, the following command will result in a broken (unable to run ``bin/magento`` and ``mr`` commands) environment:
The issue is due to the ``DuoSecurity`` 2FA Provider improperly reading the ``force-providers`` value from ``env.php``.
202
+
203
+
The workaround is to, after running the command, manually adjust the following content in ``env.php``:
204
+
````
205
+
'twofactorauth' => [
206
+
'general' => [
207
+
'force_providers' => [
208
+
'google'
209
+
]
210
+
]
211
+
]
212
+
````
213
+
with:
214
+
````
215
+
'twofactorauth' => [
216
+
'general' => [
217
+
'force_providers' => 'google'
218
+
]
219
+
]
220
+
````
221
+
:::
222
+
195
223
:::{note}
196
224
Use of 2FA is mandatory on Magento ``2.4.x`` and setup of 2FA should be skipped when installing ``2.3.x`` or earlier. Where 2FA is setup manually via UI upon login rather than using the CLI commands above, the 2FA configuration email may be retrieved from `the Mailhog service <https://mailhog.warden.test/>`_.
0 commit comments