-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[5.7] 403 Exception view update (#26002)
* Changed the sentence of error 403 view from unauthorized to forbidden to be more precise. Unauthorized refers to erro 401 specifically. * Added error 401 Exception view with unauthorised sentence
- Loading branch information
1 parent
d1be6e4
commit be46423
Showing
2 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@extends('errors::illustrated-layout') | ||
|
||
@section('code', '401') | ||
@section('title', __('Unauthorized')) | ||
|
||
@section('image') | ||
<div style="background-image: url('/svg/403.svg');" class="absolute pin bg-cover bg-no-repeat md:bg-left lg:bg-center"> | ||
</div> | ||
@endsection | ||
|
||
@section('message', __('Sorry, you are not authorized to access this page.')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
@extends('errors::illustrated-layout') | ||
|
||
@section('code', '403') | ||
@section('title', __('Unauthorized')) | ||
@section('title', __('Forbidden')) | ||
|
||
@section('image') | ||
<div style="background-image: url('/svg/403.svg');" class="absolute pin bg-cover bg-no-repeat md:bg-left lg:bg-center"> | ||
</div> | ||
@endsection | ||
|
||
@section('message', __('Sorry, you are not authorized to access this page.')) | ||
@section('message', __('Sorry, you are forbidden to access this page.')) |