How to return to the previous login page after logging in to laravel?
I can’t use the following methods
return Redirect::intended('/');
My method is to submit POST data to the controller message message board, and then determine whether to log in and return to the login page
I want to return to the current message board page after logging in
伊谢尔伦2017-07-07 10:37:15
Remember that laravel has a flash memory function, which is to lose the session for the first time and then call it again, and release it directly after use next time. Laravel has middleware that should have this function. I haven’t used it for a long time. I can only recall it
天蓬老师2017-07-07 10:37:15
Holy shit, Coincidentally
, I just answered the same question as you yesterday,
After logging in, jump to the page before logging in