Authentication with the extension

This commit is contained in:
2026-02-08 12:51:53 +01:00
parent a62ba4c4d7
commit e661cc93a8
3 changed files with 17 additions and 21 deletions
+1 -5
View File
@@ -25,11 +25,7 @@ export async function signInWithGitHub(origin: string) {
export async function getSession() {
const supabase = await createClient();
try {
return await Core.getSession(supabase);
} catch {
return redirect("/login");
}
return await Core.getSession(supabase);
}
export async function signOut() {