Update lib/better-auth/auth.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
05d3cd2042
commit
ec8033df06
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue