Skip to content

Commit

Permalink
Fix initializing TrnLookup from an existing session (#756)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunndabad authored Nov 3, 2023
1 parent 454e382 commit 0b1fce5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ public void OnSignedInUserProvided(User? user)
user.EffectiveVerificationLevel != TrnVerificationLevel.Medium :
null;
HaveCompletedTrnLookup = user?.CompletedTrnLookup is not null;
TrnLookup = user?.CompletedTrnLookup is not null ? TrnLookupState.Complete : TrnLookupState.None;
TrnLookup = user?.CompletedTrnLookup is not null || user?.Trn is not null ? TrnLookupState.Complete : TrnLookupState.None;
UserType = user?.UserType;
StaffRoles = user?.StaffRoles;
TrnLookupStatus = user?.TrnLookupStatus;
Expand Down

0 comments on commit 0b1fce5

Please sign in to comment.