From fa187abc28e7dc0185422dc312ed1241a017d6f1 Mon Sep 17 00:00:00 2001 From: Kevin Joy Date: Mon, 11 Mar 2024 09:16:13 +0000 Subject: [PATCH] Change trn-in-use page wording --- .../SignIn/TrnInUseCannotAccessEmail.cshtml | 69 +++++++++---------- .../TrnInUseCannotAccessEmail.cshtml.cs | 22 ++++++ 2 files changed, 53 insertions(+), 38 deletions(-) create mode 100644 dotnet-authserver/src/TeacherIdentity.AuthServer/Pages/SignIn/TrnInUseCannotAccessEmail.cshtml.cs diff --git a/dotnet-authserver/src/TeacherIdentity.AuthServer/Pages/SignIn/TrnInUseCannotAccessEmail.cshtml b/dotnet-authserver/src/TeacherIdentity.AuthServer/Pages/SignIn/TrnInUseCannotAccessEmail.cshtml index 5e2416c17..2c43444f4 100644 --- a/dotnet-authserver/src/TeacherIdentity.AuthServer/Pages/SignIn/TrnInUseCannotAccessEmail.cshtml +++ b/dotnet-authserver/src/TeacherIdentity.AuthServer/Pages/SignIn/TrnInUseCannotAccessEmail.cshtml @@ -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 { @@ -10,49 +11,41 @@
-

You need to prove your identity to change your email address

+

@ViewBag.Title

+

+ You can change the email address for your Dfe Identity account to one which you can access. +

+

+ Send an email to @(Configuration["SupportEmail"]) with your: +

-

Send a secure email using Galaxkey

- -

To send a secure email to the Teaching Regulation Agency (TRA) you need to use the Galaxkey site:

- -

https://manager.galaxkey.com/services/registerme

+
    +
  • name
  • +
  • current email address for your Dfe Identity account
  • +
  • new email address which you can access
  • +
  • teacher reference number (TRN)
  • +
  • date of birth
  • +
-

Use your new email address, jane.doe@example.com.

+

Your current email address

+

+ The current email address for your account is: +

-

After you activate your account you can then send secure emails to TRA using Galaxkey.

+ @Redactor.RedactEmail(Model.Email) +

+ The full address is not shown for security reasons. Give the full address if you know it. +

-

Send your ID documents securely

-

Follow these steps to send your documents through Galaxkey:

- -
    -
  • select ‘Compose’ to create a new secure email
  • -
  • enter ‘@(Configuration["SupportEmail"])’ as the recipient
  • -
  • enter ‘Change of details’ as the subject line
  • -
  • - in your email include: -
      -
    • your full legal name
    • -
    • your date of birth
    • -
    • your email address
    • -
    -
  • -
  • - attach a scanned copy or photo of one of the following types of ID: -
      -
    • passport
    • -
    • driving licence (full or provisional)
    • -
    • certificate of residence
    • -
    • birth certificate
    • -
    -
  • -
+

If you do not know your TRN

+

+ You can find a lost TRN if you do not know it. +

What happens next

- -

TRA will confirm your identity and update your email address.

- -

Your ID documents will be deleted once your request is processed.

+

+ The Teaching Regulation Agency will contact you once your Dfe Identity account has been updated with the new email address. +

diff --git a/dotnet-authserver/src/TeacherIdentity.AuthServer/Pages/SignIn/TrnInUseCannotAccessEmail.cshtml.cs b/dotnet-authserver/src/TeacherIdentity.AuthServer/Pages/SignIn/TrnInUseCannotAccessEmail.cshtml.cs new file mode 100644 index 000000000..3490ae454 --- /dev/null +++ b/dotnet-authserver/src/TeacherIdentity.AuthServer/Pages/SignIn/TrnInUseCannotAccessEmail.cshtml.cs @@ -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!; + +}