Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

chore: sign out after deactivating account (#4476)

Aaryan Khandelwal12cd22bba077
diff --git a/web/components/onboarding/switch-delete-account-modal.tsx b/web/components/onboarding/switch-delete-account-modal.tsx
index 7b03322a28..bfa17387f5 100644
--- a/web/components/onboarding/switch-delete-account-modal.tsx
+++ b/web/components/onboarding/switch-delete-account-modal.tsx
@@ -62,6 +62,7 @@ export const SwitchOrDeleteAccountModal: React.FC<Props> = (props) => {
message: "Account deleted successfully.",
});
mutate("CURRENT_USER_DETAILS", null);
+ signOut();
setTheme("system");
router.push("/");
handleClose();