mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: sign out after deactivating account (#4476)
This commit is contained in:
parent
a195f1bf7e
commit
12cd22bba0
@ -62,6 +62,7 @@ export const SwitchOrDeleteAccountModal: React.FC<Props> = (props) => {
|
|||||||
message: "Account deleted successfully.",
|
message: "Account deleted successfully.",
|
||||||
});
|
});
|
||||||
mutate("CURRENT_USER_DETAILS", null);
|
mutate("CURRENT_USER_DETAILS", null);
|
||||||
|
signOut();
|
||||||
setTheme("system");
|
setTheme("system");
|
||||||
router.push("/");
|
router.push("/");
|
||||||
handleClose();
|
handleClose();
|
||||||
|
Loading…
Reference in New Issue
Block a user