Skip to content

Commit

Permalink
Fix crash due to null value being added to set
Browse files Browse the repository at this point in the history
  • Loading branch information
Veena11 committed Jan 10, 2025
1 parent 9e6616a commit 13f4bca
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,10 @@ - (BOOL)saveAccount:(MSIDAccount *)account
}
else
{
[noReturnAccountsSet addObject:accountCacheItem.username];
if (accountCacheItem.username)
{
[noReturnAccountsSet addObject:accountCacheItem.username];
}
}
}

Expand Down

0 comments on commit 13f4bca

Please sign in to comment.