Skip to content

Commit

Permalink
Update UserAgentApplication.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aoeah authored Jun 5, 2018
1 parent 84278c4 commit 436ba35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UserAgentApplication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1396,7 +1396,7 @@ protected getCachedTokenInternal(scopes : Array<string> , user: User): CacheResu
if (window.parent !== window && window.parent.msal) {
tokenReceivedCallback = window.parent.callBackMappedToRenewStates[requestInfo.stateResponse];
}
else if (window.opener && window.opener.msal) {
else if (isWindowOpenerMsal) {
tokenReceivedCallback = window.opener.callBackMappedToRenewStates[requestInfo.stateResponse];
}
else {
Expand Down

0 comments on commit 436ba35

Please sign in to comment.