-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change trn-in-use page wording (#788)
- Loading branch information
Showing
2 changed files
with
53 additions
and
38 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
22 changes: 22 additions & 0 deletions
22
...uthserver/src/TeacherIdentity.AuthServer/Pages/SignIn/TrnInUseCannotAccessEmail.cshtml.cs
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,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!; | ||
|
||
} |