All notable changes to filament-2fa
will be documented in this file.
- Fix config publish after package has been renamed by @rrelmy in #54
- Fix white background in darkmode by @rrelmy in #55
- Add white border around QRCode to improve legibility in darkmode by @rrelmy in #56
- feat: add validation for empty options while setting two factor auth by @lucascnunes in #52
- Fix email 2FA users_email_unique SQL error #61 by @cawecoy in #62
- Fix password reset link by @Baspa in #67
- Theme colors not being used by @Baspa in #68
- Fix primary colors bug by @arduinomaster22 in #70
- Optionally force not showing the user menu item by @Baspa in #74
- [Fix] Width of 2FA auth page by @Baspa in #77
- [Fix] Set default two_factor_type to email when not set by @Baspa in #78
- [Feature] Show error message when OTP code is invalid by @Baspa in #80
- @rrelmy made their first contribution in #54
- @lucascnunes made their first contribution in #52
- @cawecoy made their first contribution in #62
- @arduinomaster22 made their first contribution in #70
Full Changelog: https://github.com/vormkracht10/filament-2fa/compare/v2.0.0...v2.1.0
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