fix: remove account name from 403 error
This commit removes the user's name from the error message, as a 403 may be triggered by someone who is logged out, e.g. suspended user with no permission to access registration page.
This commit is contained in:
parent
e9c24d8f37
commit
6c843812d2
@ -157,7 +157,7 @@
|
||||
<img class="d-inline mb-4" src="{{ asset('img/403.svg') }}" width="350px" alt="403 illustration">
|
||||
|
||||
<h1>{{ __('403 - Forbidden') }}</h1>
|
||||
<p>{{ __('Hey there :accountName! It looks like you don\'t have permission to access this resource. Believe this is a mistake? Contact us and we\'ll sort it out!', ['accountName' => Auth::user()->name]) }}</p>
|
||||
<p>{{ __('Hey there! It looks like you don\'t have permission to access this resource. This may be because you don\'t have the appropriate roles, or because you\'ve been suspended. Believe this is a mistake? Contact us and we\'ll sort it out!') }}</p>
|
||||
@break;
|
||||
|
||||
@case(503)
|
||||
|
Loading…
x
Reference in New Issue
Block a user