0.1.0
In this update 🔨
- Added support for Authy
- When setting up two factor, all a user has to do is provide a phone number and they are instantly ready to go
- OneTouch support allows users with the app to simply press "ok" to sign in
- Adds greater security - the user is notified about all login attempts
- You will need to follow the instructions in the settings modal in the admin interface to set this up.
- French translation added, thanks @SampicBe
Demo (The approval request will pop right up on the user's phone):
Updating ⬆
Please run:
composer update reflar/twofactor
php flarum migrate
php flarum cache:clear
In your root Flarum dir
Clear your browser and Cloudflare (If Applicable) caches after updating. This will ensure the localizations propagate
- Please allow Bazaar 60 minutes to pull the update
EXTREMELY IMPORTANT:
If you haven't already, please make sure your webserver has one of these rules:
If you have Apache, add these lines right after the "RewriteEngine on" in .htaccess
RewriteCond %{REQUEST_URI} ^/login
RewriteRule ^(.*)$ - [F,L]
If you have Nginx add these lines to your server block:
location ~ ^/login {
deny all;
}
Make sure to undo this if you ever uninstall this extension
Q: What does this do?
A: This extension uses a custom login handler and therefore a different url to send the login request to. If someone changes the url back to the default they could bypass the two factor auth.