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

+ -

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:

- - +

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!; + +}