Welcome Guest, Not a member yet? Register   Sign In
How do i redirect user to "home" controller after successfully loggin?
#2

A couple of things here.

First - you should return the redirect() result as a best practice.

Second - as a security thing when using redirect like you are here, it uses reverse routing. If you don't want to do it that way you can do it like so:

Code:
return redirect()->to('home');
Reply


Messages In This Thread
RE: How do i redirect user to "home" controller after successfully loggin? - by kilishan - 01-23-2019, 07:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB