Skip to content

Commit 879c41b

Browse files
author
Sharma
committed
Portal specified using query param not being cleared on logout, causing problem with subsequent logins
1 parent 175d366 commit 879c41b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

projects/angular-test-app/src/app/_samples/full-portal/full-portal.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export class FullPortalComponent implements OnInit, OnDestroy {
7474
// Add event listener for when logged out
7575
document.addEventListener('SdkLoggedOut', () => {
7676
this.bLoggedIn$ = false;
77+
sessionStorage.removeItem('asdk_portalName');
7778
});
7879

7980
/* Login if needed */

0 commit comments

Comments
 (0)