From e58f2eb5d2f9f46857c92cd13debbd3052398949 Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Sat, 4 May 2024 16:33:16 +0300 Subject: [PATCH] enable custom sign forms --- pages/api/auth/[...nextauth].ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/api/auth/[...nextauth].ts b/pages/api/auth/[...nextauth].ts index 6fa77ed..cde6ebe 100644 --- a/pages/api/auth/[...nextauth].ts +++ b/pages/api/auth/[...nextauth].ts @@ -261,13 +261,13 @@ export const authOptions: NextAuthOptions = { }; }, }, - // pages: { - // signIn: "/auth/signin", - // signOut: "/auth/signout", - // error: "/message", // Error code passed in query string as ?error= - // verifyRequest: "/auth/verify-request", // (used for check email message) - // newUser: null // If set, new users will be directed here on first sign in - // }, + pages: { + signIn: "/auth/signin", + signOut: "/auth/signout", + error: "/message", // Error code passed in query string as ?error= + verifyRequest: "/auth/verify-request", // (used for check email message) + newUser: null // If set, new users will be directed here on first sign in + }, } export default NextAuth(authOptions) \ No newline at end of file