enable custom sign forms

This commit is contained in:
Dobromir Popov
2024-05-04 16:33:16 +03:00
parent 0348a2603b
commit e58f2eb5d2

View File

@ -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)