Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

feat: signout from other accounts

AykutSarace798e7024be0
diff --git a/src/pages/sign-in.tsx b/src/pages/sign-in.tsx
index 69bdbe11..fc818362 100644
--- a/src/pages/sign-in.tsx
+++ b/src/pages/sign-in.tsx
@@ -161,7 +161,11 @@ const SignIn = () => {
});
if (error) return toast.error(error.message);
- if (data.session) setSession(data.session);
+
+ if (data.session) {
+ setSession(data.session);
+ await supabase.auth.signOut({ scope: "others" });
+ }
})();
}