Skip to content

Commit 0324423

Browse files
authored
Merge pull request #2776 from TechnologyEnhancedLearning/Develop/Fixes/TD-4502-Issuenotlistingthedelegateson'Sendwelcomemessage'screenforwhosePasswordissetandunclaimed
TD-4502 Issue not listing the delegates on 'Send welcome message' screen for whose Password is set and unclaimed
2 parents 9af1dd8 + e8417c9 commit 0324423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Web/Services/UserService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ public void UpdateFailedLoginCount(UserAccount userAccount)
275275
public IEnumerable<DelegateUserCard> GetDelegateUserCardsForWelcomeEmail(int centreId)
276276
{
277277
return userDataService.GetDelegateUserCardsByCentreId(centreId).Where(
278-
user => user.Approved && !user.SelfReg && string.IsNullOrEmpty(user.Password) &&
278+
user => user.Approved && !user.SelfReg &&
279279
!string.IsNullOrEmpty(user.EmailAddress)
280280
&& !Guid.TryParse(user.EmailAddress, out _)
281281
&& user.RegistrationConfirmationHash != null

0 commit comments

Comments
 (0)