Initial commit
This commit is contained in:
41
resources/views/errors/403-profile-mismatch.blade.php
Normal file
41
resources/views/errors/403-profile-mismatch.blade.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" data-theme="{{ config('themes.active') }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ __('Unauthorized Access') }} - 403</title>
|
||||
@vite(['resources/css/app.css'])
|
||||
</head>
|
||||
<body class="bg-gray-50 dark:bg-gray-900">
|
||||
<div class="min-h-screen flex flex-col items-center justify-center px-4">
|
||||
<div class="text-center leading-loose max-w-md">
|
||||
<h3 class="text-lg font-medium text-theme-primary mb-4">
|
||||
{{ __('Unauthorized Access') }}
|
||||
</h3>
|
||||
<p class="text-sm text-theme-secondary mb-2">
|
||||
{{ __('You do not have permission to access this resource. This may be due to a session mismatch or invalid authentication state.') }}
|
||||
</p>
|
||||
<div class="text-sm text-theme-secondary mb-8">
|
||||
403
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="w-full max-w-xs">
|
||||
<form method="POST" action="{{ route('logout') }}" class="w-full">
|
||||
@csrf
|
||||
<button type="submit" class="w-full inline-flex items-center justify-center px-4 py-2 bg-gray-800 dark:bg-gray-700 border border-transparent rounded-md font-semibold text-xs text-white uppercase tracking-widest hover:bg-gray-700 dark:hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500 transition ease-in-out duration-150">
|
||||
{{ __('Logout and Reset Session') }}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@if(config('app.debug'))
|
||||
<div class="mt-8 p-4 bg-gray-100 dark:bg-gray-800 rounded-lg text-left max-w-2xl">
|
||||
<p class="text-xs text-gray-500 dark:text-gray-400 font-mono break-all">
|
||||
{{ $message ?? 'No additional details available.' }}
|
||||
</p>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user