Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 15a0084fb7 | |||
| cd82083e09 | |||
| c0abf2f411 | |||
| 061e22d225 |
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "linkwarden",
|
||||
"version": "v2.6.1",
|
||||
"version": "v2.6.2",
|
||||
"main": "index.js",
|
||||
"repository": "https://github.com/linkwarden/linkwarden.git",
|
||||
"author": "Daniel31X13 <daniel31x13@gmail.com>",
|
||||
|
||||
@@ -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 compatibility
|
||||
providers.push(
|
||||
CredentialsProvider({
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user