@if (session('error')) @php session()->forget('error'); @endphp @endif @if (session('success')) @php session()->forget('success'); @endphp @endif