This repository was archived by the owner on Apr 19, 2025. It is now read-only.
Version 2.4.0 of laravel-two-factor-authentication
Changed
- It is now possible to enable / disable 2fa for all users in addition to enabling / disabling it on a per user level. This can be specified in the config.
- You now more easily use this package if your user model uses a custom primary key. Just specify your custom primary key in the models section of the config.
Breaking
- The migration files for this package are now published. This allows for more flexibility. However, it also could cause complications when migrations for this package have already been ran. Please go here for advice.
- More strict function type hinting has been added. This largely should be of no concern, except if you are overriding certain functionality or have implemented custom providers.
Special thanks to @kim-dongit for implementing most of these new additions.