Categories
Redirect after authorization?
Authorization out of the box, the docs say that the redirect is configured in the AuthController in the protected $redirectTo = '/'; But how to make it go to the previous one, and not to the main one?
Answer the question
In order to leave comments, you need to log in
There is only one correct optionreturn redirect()->intended('/');
return redirect()->intended('/');
Redirect::back();
Set HTTP referer instead of '/'
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question