Upgrade to NextAuth v5

This commit is contained in:
2024-06-18 11:10:30 +04:00
parent 5491d996b8
commit 157951b10e
9 changed files with 64 additions and 90 deletions
+5
View File
@@ -0,0 +1,5 @@
/* eslint-disable new-cap */
import NextAuth from 'next-auth'
import {options} from 'app/api/auth/[...nextauth]/options'
export const {auth, handlers, signIn, signOut} = NextAuth(options)