Skip to content

Commit 4ab4fd3

Browse files
authored
fix: reset authenticated views on logout
Accepts PR #55 for logout state cleanup after the existing logout redirect fix.
1 parent 8241ed6 commit 4ab4fd3

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

frontend/src/App.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4782,7 +4782,14 @@ function clearSession() {
47824782
dashboardError.value = '';
47834783
dashboardSection.value = 'projects';
47844784
selectedDashboardProjectID.value = '';
4785+
pendingProjectPaymentAfterAuth.value = false;
4786+
authReturnToProjectWizard.value = false;
47854787
removeStoredToken();
4788+
4789+
if (!publicModeVisible.value || projectWizardVisible.value) {
4790+
projectWizardVisible.value = false;
4791+
openPublicPage('home');
4792+
}
47864793
}
47874794
47884795
async function submitAuth() {

0 commit comments

Comments
 (0)