Allow your users to enable two factor authentication.
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
Disable the extension, click uninstall and run these commands:
composer remove nearata/flarum-ext-twofactor php flarum cache:clear
How to use
User Settings ->
Two Factor button -> follow the screen