Skip to content

Commit

Permalink
fix: msal setActiveAccount error (#3017)
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinbarron authored Feb 5, 2024
1 parent eec74d0 commit 0bad7e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/providers/mgt-msal2-provider/src/Msal2Provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,8 @@ export class Msal2Provider extends IProvider {
// exit early if the account is already active and stored
if (
storedAccount &&
accountToSet &&
activeAccount &&
storedAccount.homeAccountId === accountToSet.homeAccountId &&
activeAccount.homeAccountId === accountToSet.homeAccountId
) {
Expand Down

0 comments on commit 0bad7e5

Please sign in to comment.