game system nav context
sse endpoint
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
"use server";
|
||||
import { signIn, signOut } from "@/auth";
|
||||
import { auth, signIn, signOut } from "@/auth";
|
||||
|
||||
export const signInWithDiscord = async () => {
|
||||
await signIn("discord");
|
||||
@@ -10,3 +10,5 @@ export const signInWithCreds = async (formData: FormData) => {
|
||||
};
|
||||
|
||||
export const signOutOfApp = () => signOut();
|
||||
|
||||
export const getSession = async () => await auth();
|
||||
|
Reference in New Issue
Block a user