/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function delete() { $delete = Utilisateur::where('id', '=', Auth::user()->id)->update(['active' => 0]); Auth::logout(); return redirect('connexion'); }