Your routes file is wrong. You have two get requests for the same uri going to different methods. So the browser is looping.
I presume the second one should be...
Route::get('register', 'UserController@register');
Route::post('register', 'UserController@doregister');
Let me know if it helps!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community