This commit is contained in:
Dobromir Popov
2024-05-05 01:42:13 +03:00
4 changed files with 7 additions and 20 deletions

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)