Skip to content

Commit 72926b7

Browse files
vishalshrm539Sharmatumms2021389
authored
Portal specified using query param not being cleared. (#394)
* Portal specified using query param not being cleared on logout, causing problem with subsequent logins * Clear the session storage completely on logout --------- Co-authored-by: Sharma <[email protected]> Co-authored-by: tumms2021389 <[email protected]>
1 parent 365bab1 commit 72926b7

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.clear();
7778
});
7879

7980
/* Login if needed */

0 commit comments

Comments
 (0)