PHPackages                             rsilva/disabletwofactorauth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. rsilva/disabletwofactorauth

ActiveMagento2-module[Security](/categories/security)

rsilva/disabletwofactorauth
===========================

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

1.0.0(1y ago)197MITPHPPHP ^7||^8

Since Aug 20Pushed 1y agoCompare

[ Source](https://github.com/SilRodrigo/rsilva-module-disabletwofactorauth)[ Packagist](https://packagist.org/packages/rsilva/disabletwofactorauth)[ GitHub Sponsors](https://github.com/markshust)[ RSS](/packages/rsilva-disabletwofactorauth/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

RSilva\_DisableTwoFactorAuth
============================

[](#rsilva_disabletwofactorauth)

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

Magento VersionLatest Stable VersionComposer DownloadsMaintanedLicence[![Supported Magento Versions](https://camo.githubusercontent.com/2113b3a30955562f026a2b7dda3a09fee30d0c49aacbfce67193c5dc7b434617/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d322e342d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/2113b3a30955562f026a2b7dda3a09fee30d0c49aacbfce67193c5dc7b434617/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d322e342d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565267374796c653d666c61742d737175617265)[![Latest Stable Version](https://camo.githubusercontent.com/008615963a99aa5c15e9be5ade875b03e33b19e4f483340061a3b04ecef9b59d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7273696c76612f64697361626c6574776f666163746f72617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rsilva/disabletwofactorauth)[![Composer Downloads](https://camo.githubusercontent.com/87865b1daa86e5d00068bb55f478e735427cff9d3f5a1a9ebc43f36398c8266a/68747470733a2f2f706f7365722e707567782e6f72672f7273696c76612f64697361626c6574776f666163746f72617574682f646f776e6c6f616473)](https://packagist.org/packages/rsilva/disabletwofactorauth)[![Maintained - Yes](https://camo.githubusercontent.com/04aba48520e6322ebc6c41b7995626a88ce408bd46ec4eb15ae474936b345276/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65642533462d7965732d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)[![](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT)

Table of contents
-----------------

[](#table-of-contents)

- [Summary](#summary)
- [Installation](#installation)
- [Usage](#usage)
- [License](#license)

Summary
-------

[](#summary)

This modules uses Mark Shust  as base.

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

Installation
------------

[](#installation)

```
composer require rsilva/disabletwofactorauth

bin/magento module:enable RSilva_DisableTwoFactorAuth

bin/magento setup:upgrade

```

Usage
-----

[](#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

[](#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 &gt; Stores &gt; Settings &gt; Configuration &gt; Security &gt; 2FA** and set *Disable 2FA in Developer Mode* to **No**.

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

License
-------

[](#license)

[MIT](https://opensource.org/licenses/MIT)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

716d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1325508?v=4)[Rick Silva](/maintainers/RSilva)[@rsilva](https://github.com/rsilva)

---

Top Contributors

[![markshust](https://avatars.githubusercontent.com/u/437029?v=4)](https://github.com/markshust "markshust (17 commits)")[![SilRodrigo](https://avatars.githubusercontent.com/u/86023272?v=4)](https://github.com/SilRodrigo "SilRodrigo (3 commits)")[![drpayyne](https://avatars.githubusercontent.com/u/22623301?v=4)](https://github.com/drpayyne "drpayyne (2 commits)")[![Jitheesh](https://avatars.githubusercontent.com/u/1536507?v=4)](https://github.com/Jitheesh "Jitheesh (1 commits)")[![makao](https://avatars.githubusercontent.com/u/690371?v=4)](https://github.com/makao "makao (1 commits)")[![sprankhub](https://avatars.githubusercontent.com/u/930199?v=4)](https://github.com/sprankhub "sprankhub (1 commits)")

### Embed Badge

![Health badge](/badges/rsilva-disabletwofactorauth/health.svg)

```
[![Health](https://phpackages.com/badges/rsilva-disabletwofactorauth/health.svg)](https://phpackages.com/packages/rsilva-disabletwofactorauth)
```

###  Alternatives

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.5M1](/packages/fastly-magento2)[imi/magento2-friendly-captcha

Friendly Captcha integration for Magento2

19136.4k](/packages/imi-magento2-friendly-captcha)[veriteworks/cookiefix

Magento2 extension for Cookie SameSite attribute.

65484.3k1](/packages/veriteworks-cookiefix)[sansec/magento2-module-shield

15218.6k](/packages/sansec-magento2-module-shield)[checkoutcom/magento2

Checkout.com Payment Gateway for Magento 2

34280.5k3](/packages/checkoutcom-magento2)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1861.2k](/packages/myparcelnl-magento)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
