Login @php $errorMsg = ''; foreach ($errors->toArray() as $key => $value) { //dd($value); $errorMsg = $value[0]; break; } @endphp
@csrf