-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HOFF 591 Added 401 error page for Unauthorised
- Added html content in 401.html page to display 401 Unauthorised error message - Added 401 text in errors.json file. - Wrote unit test to ensure unauthorised error page pass. - Modify the previous status code assigned to 401 which was used for session timeout replaced with 408 status code
- Loading branch information
1 parent
38666a1
commit 1b3313a
Showing
4 changed files
with
71 additions
and
7 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
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,18 @@ | ||
{{<layout}} | ||
{{$header}} | ||
{{title}} | ||
{{/header}} | ||
{{$content}} | ||
<div class="govuk-width-container"> | ||
<main class="govuk-main-wrapper govuk-main-wrapper--l" id="main-content" role="main"> | ||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<h1 class="govuk-heading-l">{{title}}</h1> | ||
<p class="govuk-body">{{paragraph}}</p> | ||
</div> | ||
</div> | ||
</main> | ||
</div> | ||
<a href="/" class="button" role="button">{{#t}}buttons.start-again{{/t}}</a> | ||
{{/content}} | ||
{{/layout}} |
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
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