TwoFactorX

Add a two-factor authentication to MODX

Creator: Thomas Jakobi (jako)

Need help installing this extra?

About TwoFactorX

With this package for MODX Revolution the manager login can be secured with a two-factor authentication. The ‘Login’ extra can be secured with a pre-hook and a QR Code for saving the authenticator secret can be generated with a snippet.

TwoFactorX is a complete rewrite of GoogleAuthenticatorX.

Information

Released
July 8, 2025

Supported Database
MySQL

License
GPLv2

Supported Versions
2.8 - Current

Downloads
355

Documentation
TwoFactorX Documentation

Instructions

Install via package manager. After you have saved the two-factor secret shown in the TwoFactorX tab when you edit your manager user, you can enable the system setting twofactorx.enable_2fa. When the system setting twofactorx.enable_onetime is enabled, a manager user can log in once without two-factor authentication.

New in 1.1.0-pl

  • Remove the twofactorx.enable_onetime system setting and allow the user to reload the manager showing a verify window with each load
  • Verify the secret in the authenticator app with the generated authentication key to enable the two-factor authentication in the manager login
  • Migrate the inonetime user setting to the verifytotp user setting
  • Get the right email language in MODX 3

Current releases

1.1.0-pl
View | Download
July 8, 2025
2.8 - Current

TwoFactorX 1.1.0-pl | MODX