@extends('admin.layouts.home') @section('title', 'Blacklist Management') @section('content')

Blacklist Users

Ban IP, Email or Username
Add any email, username, IP address, or email domain to prevent users from creating accounts or accessing the site.
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@csrf
Examples: 192.168.1.1, user@example.com, username, example.com
Manage Blacklisted Items
@if(count($blacklisted) > 0)
@foreach($blacklisted as $item) @endforeach
ID Type Value Added On Action
{{ $item->id }} @if($item->type == 'ip') IP Address @elseif($item->type == 'email') Email @elseif($item->type == 'username') Username @elseif($item->type == 'email_domain') Email Domain @endif {{ $item->value }} {{ \Carbon\Carbon::parse($item->created_at)->format('M d, Y h:i A') }}
Showing {{ $blacklisted->firstItem() ?? 0 }} to {{ $blacklisted->lastItem() ?? 0 }} of {{ $blacklisted->total() }} entries
{{ $blacklisted->links('pagination::bootstrap-5') }}
@else
No blacklisted items found.
@endif
@endsection @push('scripts') @endpush