@extends('layouts.app') @section('title', 'Authentication log') @section('content')

Authentication log

Imported from the FreeRADIUS radpostauth table.

@csrf
@include('components.kpi', ['label' => 'Accepts today', 'value' => number_format($counts['accept']), 'variant' => 'good', 'href' => '#']) @include('components.kpi', ['label' => 'Rejects today', 'value' => number_format($counts['reject']), 'variant' => 'bad', 'href' => '#']) @include('components.kpi', ['label' => 'Success rate', 'value' => percent($counts['success_rate']), 'variant' => 'info', 'href' => '#']) @include('components.kpi', ['label' => 'Unique users', 'value' => number_format($counts['unique']), 'href' => '#'])
@forelse ($logs as $log) @empty @endforelse
WhenUsernameResultNASAssigned IPCalled station
{{ $log->created_at->format('d M Y H:i:s') }} {{ $log->username }} {{ $log->reply }} {{ $log->nas_ip ?: '—' }} {{ $log->framed_ip ?: '—' }} {{ $log->called_station_id ?: '—' }}
@include('components.empty-state', ['icon' => '🔒', 'title' => 'No authentication attempts', 'message' => 'FreeRADIUS writes to radpostauth on every Access-Request.'])
@if ($logs->hasPages())
{{ $logs->links('partials.pagination') }}
@endif
@endsection