Skip to content

Commit 1dd3c3e

Browse files
authored
fix: add tanstackStartCookies plugin to Better Auth add-on (#297)
fix: add tanstackStartCookies plugin to add-on
1 parent 9815a73 commit 1dd3c3e

File tree

2 files changed

+4
-0
lines changed
  • frameworks
    • react-cra/add-ons/better-auth/assets/src/lib
    • solid/add-ons/better-auth/assets/src/lib

2 files changed

+4
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { betterAuth } from 'better-auth'
2+
import { tanstackStartCookies } from 'better-auth/tanstack-start'
23

34
export const auth = betterAuth({
45
emailAndPassword: {
56
enabled: true,
67
},
8+
plugins: [tanstackStartCookies()],
79
})
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { betterAuth } from 'better-auth'
2+
import { tanstackStartCookies } from 'better-auth/tanstack-start'
23

34
export const auth = betterAuth({
45
emailAndPassword: {
56
enabled: true,
67
},
8+
plugins: [tanstackStartCookies()],
79
})

0 commit comments

Comments
 (0)