Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change different-email-cannot-access page wording #788

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@page "/sign-in/trn/different-email-cannot-access"
@model TeacherIdentity.AuthServer.Pages.SignIn.TrnInUseCannotAccessEmailModel
@inject IConfiguration Configuration
@{
ViewBag.Title = "You need to prove your identity to change your email address";
ViewBag.Title = "Change the email address for your Dfe Identity account";
}

@section BeforeContent {
Expand All @@ -10,49 +11,41 @@

<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds-from-desktop">
<h1 class="govuk-heading-l">You need to prove your identity to change your email address</h1>
<h1 class="govuk-heading-l">@ViewBag.Title</h1>
<p>
You can change the email address for your Dfe Identity account to one which you can access.
</p>
<p>
Send an email to <a href='mailto:@(Configuration["SupportEmail"])'>@(Configuration["SupportEmail"])</a> with your:
</p>

<h2 class="govuk-heading-m">Send a secure email using Galaxkey</h2>

<p>To send a secure email to the Teaching Regulation Agency (TRA) you need to use the Galaxkey site:<br></p>

<p><a href="https://manager.galaxkey.com/services/registerme">https://manager.galaxkey.com/services/registerme</a></p>
<ul class="govuk-list govuk-list--bullet">
<li>name</li>
<li>current email address for your Dfe Identity account</li>
<li>new email address which you can access</li>
<li>teacher reference number (TRN)</li>
<li>date of birth</li>
</ul>

<p>Use your new email address, [email protected].</p>
<h2 class="govuk-heading-m">Your current email address</h2>
<p>
The current email address for your account is:
</p>

<p>After you activate your account you can then send secure emails to TRA using Galaxkey.</p>
<govuk-inset-text data-testid="Email">@Redactor.RedactEmail(Model.Email)</govuk-inset-text>
<p>
The full address is not shown for security reasons. Give the full address if you know it.
</p>

<h2 class="govuk-heading-m">Send your ID documents securely</h2>

<p>Follow these steps to send your documents through Galaxkey:</p>

<ul class="govuk-list govuk-list--bullet">
<li>select ‘Compose’ to create a new secure email</li>
<li>enter ‘@(Configuration["SupportEmail"])’ as the recipient</li>
<li>enter ‘Change of details’ as the subject line</li>
<li>
in your email include:
<ul class="govuk-list govuk-list--bullet govuk-!-margin-bottom-2">
<li>your full legal name</li>
<li>your date of birth</li>
<li>your email address</li>
</ul>
</li>
<li>
attach a scanned copy or photo of one of the following types of ID:
<ul class="govuk-list govuk-list--bullet">
<li>passport</li>
<li>driving licence (full or provisional)</li>
<li>certificate of residence</li>
<li>birth certificate</li>
</ul>
</li>
</ul>
<h2 class="govuk-heading-m">If you do not know your TRN</h2>
<p>
You can <a href="https://find-a-lost-trn.education.gov.uk">find a lost TRN</a> if you do not know it.
</p>

<h2 class="govuk-heading-m">What happens next</h2>

<p>TRA will confirm your identity and update your email address.</p>

<p>Your ID documents will be deleted once your request is processed.</p>
<p>
The Teaching Regulation Agency will contact you once your Dfe Identity account has been updated with the new email address.
</p>
</div>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
using TeacherIdentity.AuthServer.Journeys;
using TeacherIdentity.AuthServer.Pages.Common;
using TeacherIdentity.AuthServer.Services.UserVerification;

namespace TeacherIdentity.AuthServer.Pages.SignIn;

public class TrnInUseCannotAccessEmailModel : BaseEmailConfirmationPageModel
{
private readonly SignInJourney _journey;

public TrnInUseCannotAccessEmailModel(
SignInJourney journey,
IUserVerificationService userVerificationService,
PinValidator pinValidator)
: base(userVerificationService, pinValidator)
{
_journey = journey;
}

public override string Email => _journey.AuthenticationState.TrnOwnerEmailAddress!;

}
Loading