Skip to content

Commit 1c9c343

Browse files
committed
Fixed error of not resetting Section State at Log Out in the Customer Portal.
1 parent 3d75d5a commit 1c9c343

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WebApplication2/Customer/Pages/CustomerComponent.aspx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,7 @@
737737
738738
function logout() {
739739
// Clear the session variable
740+
localStorage.removeItem('activeSection');
740741
sessionStorage.clear();
741742
// Send a POST request to the logout endpoint
742743
fetch('logout.aspx', { method: 'POST' })

0 commit comments

Comments
 (0)