mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 04:27:38 +00:00
Merge pull request #4625 from Infisical/fix/404-error-after-account-deletion
fix: 404 Error after account deletion
This commit is contained in:
@@ -87,6 +87,8 @@ export const useDeleteMe = () => {
|
|||||||
localStorage.removeItem("PRIVATE_KEY");
|
localStorage.removeItem("PRIVATE_KEY");
|
||||||
localStorage.removeItem("orgData.id");
|
localStorage.removeItem("orgData.id");
|
||||||
|
|
||||||
|
setAuthToken("");
|
||||||
|
|
||||||
queryClient.clear();
|
queryClient.clear();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user