Hello, Admin! A great day ahead.
@csrf
Email
Password
Login
Forgot Password?
@if (session('success') || $errors->any()) @php $isError = $errors->any(); // Check if it's an error @endphp
@if (session('success'))
Success
{{ session('success') }}
@elseif ($isError)
Error
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@endif