-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce candidate to wrong email address page
If a candidate tries to login with the candidate email address and they have a one login email address that is different from the candidate email address. We will not allow the user to login, with one login. We will redirect the user to the wrong_email_address page. Previously we would have redirected the user to 500 error page. This page is intended to have more content helping the candidate to unstuck themselves rather than contacting support
- Loading branch information
1 parent
d2d4abc
commit 5eeb2c7
Showing
6 changed files
with
23 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
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
14 changes: 14 additions & 0 deletions
14
app/views/errors/wrong_email_address_used_for_candidate.html.erb
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,14 @@ | ||
<%= content_for :title, t('page_titles.there_is_a_problem') %> | ||
|
||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<h1 class="govuk-heading-l"><%= t('page_titles.there_is_a_problem') %></h1> | ||
<p class="govuk-body"> | ||
You should use the email address you use for GOV.UK One Login to sign in to Apply for teacher training. | ||
</p> | ||
<p class="govuk-body"> | ||
If you have any questions, please email us at | ||
<a class="govuk-link" href="mailto:[email protected]">[email protected]</a> | ||
</p> | ||
</div> | ||
</div> |
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
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