⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
bug fixed
daniel31x13061e22d225ad
diff --git a/pages/api/v1/auth/[...nextauth].ts b/pages/api/v1/auth/[...nextauth].tsindex dd38aa7b..17bcaad2 100644--- a/pages/api/v1/auth/[...nextauth].ts+++ b/pages/api/v1/auth/[...nextauth].ts@@ -79,10 +79,7 @@ const STRIPE_SECRET_KEY = process.env.STRIPE_SECRET_KEY;const providers: Provider[] = [];-if (- process.env.NEXT_PUBLIC_CREDENTIALS_ENABLED === "true" ||- process.env.NEXT_PUBLIC_CREDENTIALS_ENABLED === undefined-) {+if (process.env.NEXT_PUBLIC_CREDENTIALS_ENABLED !== "false") {// undefined is for backwards compatibilityproviders.push(CredentialsProvider({diff --git a/pages/api/v1/logins/index.ts b/pages/api/v1/logins/index.tsindex 7e290af2..8a98210e 100644--- a/pages/api/v1/logins/index.ts+++ b/pages/api/v1/logins/index.ts@@ -414,8 +414,7 @@ export function getLogins() {}return {credentialsEnabled:- process.env.NEXT_PUBLIC_CREDENTIALS_ENABLED === "true" ||- process.env.NEXT_PUBLIC_CREDENTIALS_ENABLED === undefined+ process.env.NEXT_PUBLIC_CREDENTIALS_ENABLED !== "false"? "true": "false",emailEnabled: