markshust / magento2-module-disabletwofactorauth

The DisableTwoFactorAuth module provides the ability to disable two-factor authentication.
MIT License
194 stars 39 forks source link

Cannot access magento.test/admin after installation #22

Closed thaingocthienlong closed 6 months ago

thaingocthienlong commented 7 months ago

image

markshust commented 6 months ago

You may want to clear generated code with:

rm -rf generated/code

It appears something is stale. If you are still getting the error, confirm the file does exist on your filesystem. But this file exists in the normal install of this module https://github.com/markshust/magento2-module-disabletwofactorauth/blob/master/Plugin/BypassTwoFactorAuth.php