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:
parent
b4936e4dc2
commit
200650dc38
1 changed files with 2 additions and 1 deletions
|
|
@ -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';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue