chore: WIP

This commit is contained in:
Pablo Lara committed 2024-08-22 18:04:30 +02:00
1 parent 063de00e45
commit ed0d975e43
15 files changed
+520 -53

No files matched your search

+5 -3
View File
@@ -2,9 +2,7 @@
import { AuthError } from "next-auth";
import { signIn } from "@/auth.config";
// ...
import { signIn, signOut } from "@/auth.config";
export async function authenticate(
prevState: string | undefined,
@@ -26,3 +24,7 @@ export async function authenticate(
throw error;
}
}
export async function logOut() {
await signOut();
}