Move nextauth to app directory

This commit is contained in:
2023-07-22 13:26:02 +04:00
parent a58e0d587c
commit 6f48dadbe6
@@ -77,10 +77,11 @@ const options = {
} }
}, },
pages: { pages: {
signIn: '/soumet', signIn: '/pwopose',
error: '/soumet' error: '/pwopose'
} }
} }
const Auth = (request, response) => const handler = (request, response) =>
NextAuth(request, response, options) NextAuth(request, response, options)
export default Auth
export {handler as GET, handler as POST}