I suppose, after you save the user object in your database, The user object will obtain an id number. I think you can call
Auth::loginUsingId($user->id);
just after the creation to log the user in. Don't know if this will work, but I got the information from the laravel documenation. Here is the rest:
http://laravel.com/docs/4.2/security#authenticating-users
Thanks Masterakado, I was inexplicably passing the object, not the ID!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community