diff --git a/src/app/api/auth/[...nextauth]/route.ts b/src/app/api/auth/[...nextauth]/route.ts index ae20e28..462c56a 100644 --- a/src/app/api/auth/[...nextauth]/route.ts +++ b/src/app/api/auth/[...nextauth]/route.ts @@ -14,6 +14,8 @@ export const { providers: [ CredentialsProvider({ name: 'Credentials', + // The 'type' property is required for the Credentials provider. + type: 'credentials', credentials: { email: { label: 'Email', type: 'email' }, password: { label: 'Password', type: 'password' },