@extends('layouts.app') @section('title', 'General – Setting') @section('body_class', 'setting-general-admin') @section('content') @php $loginPath = old('admin_login_path', $dashboardSettings->admin_login_path ?? \App\Services\AdminAccessService::loginRoutePath()); $refreshMinutes = (int) old('auto_refresh_interval_minutes', $dashboardSettings->auto_refresh_interval_minutes ?? 5); @endphp
Admin access (IP allowlist and staff login URL) and dashboard auto-refresh. Visitors who are not on an allowed IP and open the site root are sent to the public store.
{{ $detectedIp ?? 'unknown' }}
Detected from this request
Control who can open this tools dashboard and where staff sign in.
admin_allowed_ips, or use ADMIN_ALLOWED_IPS in .env.
Only these addresses can reach the admin tools. Keep at least one IP so you do not lock yourself out.
No IPs in the database yet. Add one below or configure ADMIN_ALLOWED_IPS in .env.
| IP address | Note | Actions |
|---|---|---|
{{ $ipRow->ip_address }} |
@if($ipRow->note) {{ $ipRow->note }} @else — @endif | @if($allowedIps->count() > 1) @else Protected @endif |
How often Deals, Marketing, Pay What You Want, and Offers reload in the browser.