message not show in blade file. my controller return redirect('login')->with('message', 'please enter a valid user name and password'); my blade file @if(session('message')) <div class="alert alert-danger"></div> @endif route Route::get('/login',[AuthController::class,'login'])->name('login');`your text`
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire