From 963d932acef942b15f5ab6a5a15ff2b4e34c6463 Mon Sep 17 00:00:00 2001 From: James Gunn Date: Fri, 29 Sep 2023 13:43:43 +0100 Subject: [PATCH] Fix CoreSignInJourneyWithTrnLookup to handle phone-less registration (#732) --- .../Journeys/CoreSignInJourneyWithTrnLookup.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dotnet-authserver/src/TeacherIdentity.AuthServer/Journeys/CoreSignInJourneyWithTrnLookup.cs b/dotnet-authserver/src/TeacherIdentity.AuthServer/Journeys/CoreSignInJourneyWithTrnLookup.cs index 04aba7230..2a58972fd 100644 --- a/dotnet-authserver/src/TeacherIdentity.AuthServer/Journeys/CoreSignInJourneyWithTrnLookup.cs +++ b/dotnet-authserver/src/TeacherIdentity.AuthServer/Journeys/CoreSignInJourneyWithTrnLookup.cs @@ -224,8 +224,7 @@ public override Task OnEmailVerified(User? user, string currentSt protected override bool AreAllQuestionsAnswered() => AuthenticationState.EmailAddressSet && AuthenticationState.EmailAddressVerified && - AuthenticationState.MobileNumberSet && - AuthenticationState.MobileNumberVerified && + AuthenticationState.MobileNumberVerifiedOrSkipped && AuthenticationState.NameSet && AuthenticationState.DateOfBirthSet && AuthenticationState.HasNationalInsuranceNumberSet &&