LRavel -Umliebung mit Fehler
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