Skip to content

Commit daf42fa

Browse files
authored
add back button to 401 error page
1 parent 07987ff commit daf42fa

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

resources/views/stubs/401.blade.php.stub

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,11 @@
66
@endphp
77

88
<x-filament::layouts.card title="Unauthorized">
9-
Your account is not authorized to perform this action.
9+
<p class="mb-6">Your account is not authorized to perform this action.</p>
10+
11+
<a href="/">
12+
<x-filament::button class="w-full">
13+
Go back
14+
</x-filament::button>
15+
</a>
1016
</x-filament::layouts.card>

0 commit comments

Comments
 (0)