Skip to content

Commit

Permalink
Removing case sensitive check from MSAL broker (#1659)
Browse files Browse the repository at this point in the history
  • Loading branch information
trwalke committed Feb 26, 2020
1 parent e21c687 commit ffa7889
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public void CheckForBrokerAccountInfoInAccountManager(IDictionary<string, string
{
var accountData = account[BrokerResponseConst.Account];

if (string.Equals((accountData[BrokerResponseConst.UserName]).ToString(), username))
if (string.Equals((accountData[BrokerResponseConst.UserName]).ToString(), username, StringComparison.OrdinalIgnoreCase))
{
brokerPayload[BrokerParameter.HomeAccountId] = accountData[BrokerResponseConst.HomeAccountId].ToString();
brokerPayload[BrokerParameter.LocalAccountId] = accountData[BrokerResponseConst.LocalAccountId].ToString();
Expand Down

0 comments on commit ffa7889

Please sign in to comment.