Fix: Import passkey plugin from correct package

The passkey plugin was previously imported from `better-auth/plugins`
instead of its dedicated package `@better-auth/passkey`. This change
corrects the import path to resolve the issue.
This commit is contained in:
bananabas 2026-04-13 18:00:18 +01:00
parent b4936e4dc2
commit 200650dc38

View file

@ -1,5 +1,6 @@
import { betterAuth } from 'better-auth';
import { organization, passkey, magicLink } from 'better-auth/plugins';
import { organization, magicLink } from 'better-auth/plugins';
import { passkey } from '@better-auth/passkey'; // separate package!
import { drizzleAdapter } from 'better-auth/adapters/drizzle';
import { db } from '@/db';