if(count($data) == 1){
return view('welcome');
}
else {
// echo "dslkfjads";
Redirect::back()->with('message','Username or password not Match!');
}
Run Code Online (Sandbox Code Playgroud)
上面的Redirect :: back()函数在登录时不起作用.如果我正在打印它正在显示的任何内容