Skip to content

Commit 18eeefa

Browse files
vishalshrm539Sharmatumms2021389
authored
Portal specified using query param not being cleared. (#643)
* Portal specified using query param not being cleared on logout, causing problem with subsequent logins * Clear session storage on logout --------- Co-authored-by: Sharma <[email protected]> Co-authored-by: tumms2021389 <[email protected]>
1 parent 1fa4c58 commit 18eeefa

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.clear();
8687
});
8788

8889
/* Login if needed */

0 commit comments

Comments
 (0)