summaryrefslogtreecommitdiff
path: root/lib/config
diff options
context:
space:
mode:
authorNicolas Dietrich2021-01-23 14:14:47 +0100
committerNicolas Dietrich2021-01-23 14:14:47 +0100
commit5e269e4af97b78765b63c3e1dc638d5cbb50ac0b (patch)
treeb93c12c588998ef5c08cb4b606cd6a1548c3d2ed /lib/config
parent497569fee4a841b13ed1606ca54f269162d3fa62 (diff)
Keep JS and env varibale name in sync (requireFreeURLAuthentication)
Signed-off-by: Nicolas Dietrich <nidi@mailbox.org>
Diffstat (limited to 'lib/config')
-rw-r--r--lib/config/environment.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config/environment.js b/lib/config/environment.js
index 3f13c8e0..e03bac8a 100644
--- a/lib/config/environment.js
+++ b/lib/config/environment.js
@@ -29,7 +29,7 @@ module.exports = {
allowAnonymous: toBooleanConfig(process.env.CMD_ALLOW_ANONYMOUS),
allowAnonymousEdits: toBooleanConfig(process.env.CMD_ALLOW_ANONYMOUS_EDITS),
allowFreeURL: toBooleanConfig(process.env.CMD_ALLOW_FREEURL),
- requireFreeURLAuthentication: toBooleanConfig(process.env.CMD_REQUIRE_FREEURL_AUTH),
+ requireFreeURLAuthentication: toBooleanConfig(process.env.CMD_REQUIRE_FREEURL_AUTHENTICATION),
forbiddenNoteIDs: toArrayConfig(process.env.CMD_FORBIDDEN_NOTE_IDS),
defaultPermission: process.env.CMD_DEFAULT_PERMISSION,
dbURL: process.env.CMD_DB_URL,