stephenjude / filament-two-factor-authentication

Add two factor authentication (2FA) to Filament panels.
MIT License
34 stars 7 forks source link

Introduced Components #7

Closed elishaukpong closed 3 weeks ago

elishaukpong commented 3 weeks ago

This PR introduces blade components to the livewire components that power 2FA setup, making it cleaner and seperating concerns based on setup stage.

It also adds a logout button on the setup 2fa page, giving user ability to signout of an account if they are not ready or do not have the ability to setup 2FA at the time of logging in.

Added @csrf tag to logout component to avoid page expired when trying to logout.

stephenjude commented 3 weeks ago

This is beautiful, thanks @elishaukpong