Skip to content

Commit d099e46

Browse files
my b
1 parent 8fb35a9 commit d099e46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin-api-frontend/src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import 'bootstrap/dist/css/bootstrap.min.css';
1414
*/
1515
const msalInstance = new PublicClientApplication(msalConfig);
1616

17-
msalInstance.addEventCallback((event) => { if (event.eventType === EventType.SSO_SILENT_FAILURE && event.error?.errorCode === 'monitor_window_timeout') { instance.acquireTokenRedirect({ ...loginRequest, }); } });
17+
msalInstance.addEventCallback((event) => { if (event.eventType === EventType.SSO_SILENT_FAILURE && event.error?.errorCode === 'monitor_window_timeout') { msalInstance.acquireTokenRedirect({ ...loginRequest, }); } });
1818

1919
// Default to using the first account if no account is active on page load
2020
if (!msalInstance.getActiveAccount() && msalInstance.getAllAccounts().length > 0) {

0 commit comments

Comments
 (0)