Update lib/better-auth/auth.ts

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Mr. Algorithm 2025-10-04 01:05:50 +05:30 committed by GitHub
parent 05d3cd2042
commit ec8033df06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ export const getAuth = async () => {
authInstance = betterAuth({ authInstance = betterAuth({
database: mongodbAdapter(db as any), database: mongodbAdapter(db as any),
secret: process.env.BETER_AUTH_SECRET, secret: process.env.BETTER_AUTH_SECRET,
baseURL: process.env.BETTER_AUTH_URL, baseURL: process.env.BETTER_AUTH_URL,
emailAndPassword: { emailAndPassword: {
enabled: true, enabled: true,