magentoのYou need to configure Two-Factor Authorization のエラー
ログインしようとしたら
ローカルで、magentoをインストールして、ユーザーで、ログインしようとしたら、何かが出ました。
Magento Admin Panel
Failed to send the message. Please contact the administrator
Logout
You need to configure Two-Factor Authorization in order to proceed to your store's admin area
An E-mail was sent to you with further instructions
2要素認証?の話らしい。
MSP TwoFactorAuthモジュールというものをオフにすればいいらしい。
ローカルで練習したいだけなので、解除する。
magentoがあるところへ行き
/var/www/html/magento$ bin/magento module:disable Magento_TwoFactorAuth
The following modules have been disabled:
- Magento_TwoFactorAuth
Cache cleared successfully.
Generated classes cleared successfully. Please run the 'setup:di:compile' command to generate classes.
Info: Some modules might require static view files to be cleared. To do this, run 'module:disable' with the --clear-static-content option to clear them.
ログインできるようになりました。
参考
Author And Source
この問題について(magentoのYou need to configure Two-Factor Authorization のエラー), 我々は、より多くの情報をここで見つけました https://qiita.com/berukokoko/items/3de8f5380af981a0e6a1著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .