LDAP server errors were not being displayed when used with ->withErrors(), so created a new component x-failed
This commit is contained in:
5
resources/views/components/failed.blade.php
Normal file
5
resources/views/components/failed.blade.php
Normal 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
|
@@ -11,6 +11,7 @@
|
||||
|
||||
@section('page_status')
|
||||
<x-error/>
|
||||
<x-failed/>
|
||||
@endsection
|
||||
|
||||
@section('main-content')
|
||||
|
@@ -67,6 +67,7 @@
|
||||
<x-note/>
|
||||
<x-error/>
|
||||
<x-updated/>
|
||||
<x-failed/>
|
||||
@endsection
|
||||
|
||||
@section('main-content')
|
||||
|
Reference in New Issue
Block a user