Back to overview

Two-Factor Authentication (2FA)

Add it on-the-fly to your HumHub by activating it in the Modules menu! ("Administration -> Modules")


Two-Factor Authentication (2FA)

Increase security within your network by adding an additional authentication method besides username and password.

Available methods:

  • Email
  • Time-based one-time passwords (e.g. Google Authenticator)

Administrators can individually define which user groups are required to use an additional authentication method. For administrators themselves, a second authentication method will be enabled by default.

Developer

Individual Drivers

New driver should be extended from humhub\modules\twofa\drivers\BaseDriver in the folder drivers.

Also new created driver should be added into array humhub\modules\twofa\Module->drivers:

public $drivers = [
    EmailDriver::class,
    GoogleAuthenticatorDriver::class,
];

Default driver humhub\modules\twofa\Module->defaultDriver is used for Users from enforced Groups:

public $defaultDriver = EmailDriver::class;

1.0.0 (February 9, 2021)

  • Enh: Initial release
  • Init: Default driver to send code by e-mail
  • Enh: Driver "Google Authenticator"
  • Enh: Require pin code before enabling Google Authenticator
Version:
1.0.0 (released 25 days ago)

Publisher:
HumHub GmbH & Co. KG

Website:
https://github.com/humhub/humhub-modules-twofa

Compatibility:
HumHub 1.8 - Latest





HumHub Cloud

Free
Install it on-the-fly at the admin panel
in your HumHub hosting instance


HumHub Self-Hosted

Free
Install it on-the-fly at the admin panel
in your HumHub installation