Allows your users to activate 2FA authentication.
Go to the screenshots folder to see the previews.
composer require nearata/flarum-ext-twofactor:"*"
composer require nearata/flarum-ext-twofactor:"*"
php flarum migrate
php flarum cache:clear
Disable the extension, click uninstall and run these commands:
composer remove nearata/flarum-ext-twofactor
php flarum cache:clear
Go to User Settings
-> Two-Factor Authentication
section