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.
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.