-
Notifications
You must be signed in to change notification settings - Fork 184
Add Two Factor Auth For Livewire Starter Kit #113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
6bc39ff
to
0357084
Compare
387d246
to
6172b74
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
I tried to extract the Input OTP component's JS out to a script tag but it just caused more problems than it was worth. Otherwise, just some formatting nits I fixed and let's try to use Livewire's reset
for resetting properties instead of manually setting them back to their initial values.
This MR adds Two-Factor Authentication (2FA) functionality to the Livewire Starter Kit using Laravel Fortify's built-in support for 2FA
🔒 Backend Changes
We are now leveraging Fortify for handling two-factor authentication.
🖥️ Frontend/UI Updates
The UI has been updated to handle all the two-factor settings based on Fortify's configuration. The following Fortify features are enabled:
Demo
https://www.loom.com/share/e12c8d8c806b411d90ca277bb5d56dea
Co-authored-by: Tony Lea [email protected]
Thanks to #84