@extends('layouts.app') @section('title', 'User Login History') @section('content')

Login History: {{ $user->name }}

Security audit trail of IP addresses, devices, browsers, and login outcomes.

Back to Users
@forelse($history as $item) @empty @endforelse
Timestamp IP Address Attempted Credential User Agent Status
{{ $item->created_at->format('Y-m-d H:i:s') }} {{ $item->ip_address ?? 'N/A' }} {{ $item->attempted_credential }} {{ $item->user_agent }} @if($item->status === 'success') Successful @else Failed @endif
No login attempts recorded yet for this user.
{{ $history->links() }}
@endsection