Monday, April 10, 2017

Redirect::back() is not working in laravel 5.4

if(count($data) == 1)
{
return view('home');
}
else {
// echo"ta-da";
Redirect::back()->with('message','username or password not Match!'); 
}

Above Redirect::back() function is not working while login. If I'm printing anything it is showing



via Mustafa Nure Alam

Advertisement