Skip to content

Commit a81155a

Browse files
author
Sharma
committed
Portal specified using query param not being cleared on logout, causing problem with subsequent logins
1 parent 8a94d24 commit a81155a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/_samples/full-portal/full-portal.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ export class FullPortalComponent implements OnInit, OnDestroy {
8383
// Add event listener for when logged out
8484
document.addEventListener('SdkLoggedOut', () => {
8585
this.bLoggedIn$ = false;
86+
sessionStorage.removeItem('asdk_portalName');
8687
});
8788

8889
/* Login if needed */

0 commit comments

Comments
 (0)