How to redirect to a questionnaire when a user logins orr creates an account
I used @Lara Zeus form builder package to create a questionnaire that requires a user to login and answer then I added basic breeze starter for authentication (login and register) so a user is able to register so. How can I redirect to that questionnaire after a user logins or registers?
Solution
I think if you use
return redirect()->intended();
return redirect()->intended();
it will redirect the user to the last page they visit and it will be the form