I would like to use laravel 5.3 authentication for two different tables. How would it be possible by using laravel authentication?
I have setup auth.php files, and adding guards, Creating a new model, and migrate the necessary file.
I copied the controllers, and update the namespace, and have specified the route. And, yes i am able to access that route, to that particular controller..
But, when i register, it goes to users table. Why and how to set it to the correct table? I thought guards would do the work.
And also, If we use the default laravel authentication , we are not able to set the route? I mean, i am able to access it, and change it on the route, but when the register post, it goes back to the default route. I wonder if there's any way to override that..
Thanks a lot
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire