Lravel mengarahkan kembali dengan kesalahan
In controller -
return redirect()->route('login')->withErrors(['error' => 'The credentials do not match our records']);
In blade/view -
<p>{{session('errors')->first('error');}}</p>
Literate Lentil