LDAP server errors were not being displayed when used with ->withErrors(), so created a new component x-failed

This commit is contained in:
2025-05-03 22:18:32 +10:00
parent ffb98631a6
commit 309fe83c98
4 changed files with 27 additions and 20 deletions

View File

@@ -0,0 +1,5 @@
@if(session()->has('failed'))
<div class="alert alert-danger p-2">
<p class="m-0"><i class="fas fa-fw fa-thumbs-down"></i> {{ session()->pull('failed') }}</p>
</div>
@endif

View File

@@ -11,6 +11,7 @@
@section('page_status')
<x-error/>
<x-failed/>
@endsection
@section('main-content')

View File

@@ -67,6 +67,7 @@
<x-note/>
<x-error/>
<x-updated/>
<x-failed/>
@endsection
@section('main-content')