You have many ways to handle this.
Simpliest way is maybe to add an "active" and activation link field in your user table (Boolean or TINYINT, depending of your SQL system) and change the user creation default behavior in the controllers offered by Laravel.
Or you could create a second table in your database to register user status and potential changes as Laravel do for mail links and password recovery.
You could as well modify the password recovery default system to handle validation links as well... There's many, many ways to do that.
You could manage that with trait on your user Class and policy in auth class requiring the user to be activated to log in... etc...
Can you be more specific? Maybe?
If you are at starting point of development, I suggested that use already developed Laravel app boilerplate with email verification process on registration
I can suggest very easy and step by step tutorial for email verification after register new user. You can make it manually : http://itsolutionstuff.com/post/how-to-implement-email-verific...
You could also look at the laravel.io source code and see how it is done here
Thank you all for your help!!
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.