markshust / magento2-module-disabletwofactorauth

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

System redirect admin/admin/denied/ even module was installed #15

Closed tuyennn closed 2 years ago

tuyennn commented 2 years ago

Install version 2.0 on "magento/product-enterprise-edition": "2.4.4" The project is on developer mode

The module doesn't seem to work

markshust commented 2 years ago

I'd need more info than that. Error? Logs outputted? etc.

tuyennn commented 2 years ago

Well from my point the site still be redirected to admin/admin/denied/ even the module installed or not. The installation of this module took no effect.

tuyennn commented 2 years ago

https://github.com/magento/magento2/issues/29884

chapagain commented 1 year ago

The admin login redirect was happening on "developer" mode. I was able to log in when I set the deploy mode to "production"

markshust commented 1 year ago

When deploy mode is set to production, this module is bypassed for security reasons, so the regular 2FA process takes effect. https://github.com/markshust/magento2-module-disabletwofactorauth/#usage