All notable changes to filament-2fa
will be documented in this file.
Breaking changes:
- Added hidden recovery code input to merge 2fa and recovery code input to one input (better UX)
- Changed vendor namespace of package from
filament-two-factor-auth
tofilament-2fa
How to upgrade:
- Change
vormkracht10/filament-two-factor-auth
tovormkracht10/filament-2fa
and require2.0.0
incomposer.json
and runcomposer update
- Rename
config/filament-two-factor-auth.php
toconfig/filament-2fa.php
(when config is published) - Rename
views/vendor/filament-two-factor-auth
toviews/vendor/filament-2fa
(when views are published) - Make sure
vendor/filament-2fa/auth/login-two-factor.blade.php
contains a hidden input namedrecovery_code
:
<div style="display: none">
<input type="text" id="recovery_code" wire:model="recovery_code" name="recovery_code" value="">
</div>```
- [Improvement] Remove unnecessary check on tenant for menu item by @Baspa in #45
- Set two factor type for users that already enabled 2FA by @Baspa in #49
Full Changelog: https://github.com/vormkracht10/filament-2fa/compare/v1.6.0...v1.7.0
- [Bug fix] Undefined method 'via' by @Baspa in #41
- [Bug fix] NPM error when building by @Baspa in #42
- Update forced method to accept Closure type by @CodeWithDennis in #43
- [Feature] Show user phone or email before sending OTP by @Baspa in #39
Full Changelog: https://github.com/vormkracht10/filament-2fa/compare/v1.5.0...v1.6.0
- [Fix] Add missing return type for custom middleware by @Baspa in #37
- [Feature] improve successfully seting 2FA by @Baspa in #38
Full Changelog: https://github.com/vormkracht10/filament-2fa/compare/v1.4.0...v1.5.0
- Add
forced()
method and middleware by @CodeWithDennis in #28
Full Changelog: https://github.com/vormkracht10/filament-2fa/compare/v1.3.0...v1.4.0
Full Changelog: https://github.com/vormkracht10/filament-2fa/compare/v1.2.0...v1.3.0
- Customizable notification email mailable by @CodeWithDennis in #7
- PHPStan improvements by @Baspa in #8
- [Bug] Fix asset registration in provider by @Baspa in #12
- [Bug fix] Invalid payload by @Baspa in #16
- Validate before pipeline to show error messages to users by @Baspa in #18
- Use validate credentials before attempting to login by @Baspa in #19
- [Bug fix] Resending otp code sometimes sends duplicates by @Baspa in #20
- [Feature] Allow register page customisation and fix tenancy issue by @Baspa in #22
- [Bug fix] OTP code should be required when challenging by @Baspa in #23
- [Feature] Validate invalid OTP by @Baspa in #24
Full Changelog: https://github.com/vormkracht10/filament-2fa/compare/v1.1.0...v1.2.0
- [Fix] Redirecting to wrong panel after challenge by @Baspa in #3
- [Bugfix] Form options showed ALL options instead of the configured options by @CodeWithDennis in #5
- [Bugfix] Dark mode and small fixes by @CodeWithDennis in #4
- Add missing dutch translations by @CodeWithDennis in #6
Full Changelog: https://github.com/vormkracht10/filament-2fa/compare/v1.0.0...v1.1.0
- initial release