A Flarum extension. Allow your users to enable two factor authentication.
- To allow the generation of backup codes, you must enable it in the admin settings of the extension.
- Users can't use API if they have two factor enabled.
composer require nearata/flarum-ext-twofactor
composer update nearata/flarum-ext-twofactor
php flarum cache:clear
php flarum migrate
Disable the extension, click uninstall and run these commands:
composer remove nearata/flarum-ext-twofactor
php flarum cache:clear
Distributed under the MIT license. See LICENSE for details.