Skip to content

Commit

Permalink
Redirect to intended path after login (#39)
Browse files Browse the repository at this point in the history
Redirect to intended path after login
  • Loading branch information
martijnb92 authored Feb 11, 2021
1 parent af7b7fe commit 2b1108a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function store(LoginRequest $request)

$request->session()->regenerate();

return redirect(RouteServiceProvider::HOME);
return redirect()->intended(RouteServiceProvider::HOME);
}

/**
Expand Down

0 comments on commit 2b1108a

Please sign in to comment.