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.",
|
||||
});
|
||||
mutate("CURRENT_USER_DETAILS", null);
|
||||
signOut();
|
||||
setTheme("system");
|
||||
router.push("/");
|
||||
handleClose();
|
||||
|
Loading…
Reference in New Issue
Block a user