Simple demo-project to add two-factor authentication, with sending 6-digit unique verification code via email.
Every time user logs in, they will see this view, with ability to re-send the code:
At the same time, this email will be sent:
System is partly generated with QuickAdminPanel, based on Laravel 6 and CoreUI Free theme (Bootstrap 4) with form customization afterwards.
- Clone the repository with git clone
- Copy .env.example file to .env and edit database credentials there, also email provider settings (to send verification codes)
- Run composer install
- Run php artisan key:generate
- Run php artisan migrate --seed (it has some seeded data for your testing)
- That's it: launch the main URL.
- You can login to adminpanel with default credentials [email protected] - password
Basically, feel free to use and re-use any way you want.
- Check out our adminpanel generator QuickAdminPanel
- Read our Blog with Laravel Tutorials
- FREE E-book: 50 Laravel Quick Tips (and counting)
- Subscribe to our YouTube channel Laravel Business
- Enroll in our Laravel Online Courses