rsilva/disabletwofactorauth

The DisableTwoFactorAuth module provides the ability to disable two-factor authentication only on developer mode.

Fund package maintenance!
markshust

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 41

Type:magento2-module

1.0.0 2024-08-20 21:40 UTC

This package is auto-updated.

Last update: 2024-09-20 21:57:48 UTC


README

Provides the ability to disable two-factor authentication on developer mode.

Table of contents

Summary

This modules uses Mark Shust https://github.com/markshust/magento2-module-disabletwofactorauth as base.

The major difference is that with this module you CAN'T disable 2FA in production mode.

Installation

composer require rsilva/disabletwofactorauth

bin/magento module:enable RSilva_DisableTwoFactorAuth 

bin/magento setup:upgrade 

Usage

This module automatically disables 2FA in developer mode (since version 2.0.0). This is to prevent any unexpected side effects or security loopholes from being introduced during automated installation processes.

Enable 2FA in developer mode

This module automatically disables 2FA while developer mode is enabled, but there may be situations when you need 2FA enabled during development. Rather than needing to disable this module, you can just disable this configuration setting in the admin.

To enable 2FA while in developer mode, visit Admin > Stores > Settings > Configuration > Security > 2FA and set Disable 2FA in Developer Mode to No.

CLI: bin/magento config:set twofactorauth/general/disable_in_developer_mode 0

License

MIT