Support the ongoing development of →
Session Forms
Last updated 2 years ago.


Try looking into

In my opinion you should use something like this:

if (Auth::attempt(array('email' => $email, 'password' => $password)))
    return Redirect::intended('your_post_form')->withInput();

Hope this helps

Last updated 2 years ago.

Thank you for your answer. I know the intended function but i think that wont work in my case especially when the user clicks in another link on the log in screen in order to go to the form that will be able to create a new account. Plus i want to have more control over the form data

Last updated 2 years ago.

Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.