@php use Illuminate\Support\Facades\Route; $title = trim(($title ?? config('adminlte.title', 'AdminLTE 4'))); $user = auth()->user(); $name = $user->name ?? ($user->email ?? 'Guest'); $avatar = ! empty($user?->profile_photo_url) ? $user->profile_photo_url : asset('vendor/adminlte/img/user2-160x160.jpg'); // `password.confirm` is registered by `adminlte:make-auth` (and by // Breeze/Fortify). Fall back to the bare path so this page still renders // in an app that hasn't scaffolded auth yet. $unlockUrl = Route::has('password.confirm') ? route('password.confirm') : url('confirm-password'); @endphp {{ $title }} {{-- Bootstrap Icons ship via the Vite bundle (imported in resources/css/adminlte.css) --}} @vite(['resources/css/adminlte.css', 'resources/js/adminlte.js']) @include('adminlte::partials.theme-colors') @stack('css') {{-- AdminLTE styles this page as `.lockscreen .lockscreen-*`, so the body class is what makes the rest of the markup below resolve. --}}

@if (config('adminlte.auth_logo.enabled', false)) {{ config('adminlte.auth_logo.img.alt') }} @endif {!! config('adminlte.logo', 'AdminLTE') !!}

{{ $name }}
{{ $name }}
@csrf
@error('password')
{{ $message }}
@enderror
{{ __('adminlte.confirm_password_message') }}
@if (Route::has('login'))
{{ __('adminlte.sign_in_as_different_user') }}
@endif
@stack('js')