summaryrefslogtreecommitdiff
path: root/lib/config/index.js
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2018-04-11 22:48:15 +0200
committerGitHub2018-04-11 22:48:15 +0200
commit387afd1791d9293c0cf1bc0a9e9d44db7b1cd87e (patch)
tree11152bfdfb5fbafb2d8031b547c857e206c396ff /lib/config/index.js
parentf23f403bcb990a03fe27d5d4dda491c5de89c464 (diff)
parent2492cf2cdfce5fdb935862bcf71bb036b1920327 (diff)
Merge pull request #799 from SISheogorath/fix/AnonymousEditTypos
Fix typos for `allowAnonymousEdits`
Diffstat (limited to '')
-rw-r--r--lib/config/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config/index.js b/lib/config/index.js
index d885ee92..bdba5e0e 100644
--- a/lib/config/index.js
+++ b/lib/config/index.js
@@ -53,7 +53,7 @@ if (config.ldap.tlsca) {
// Permission
config.permission = Permission
-if (!config.allowAnonymous && !config.allowAnonymousedits) {
+if (!config.allowAnonymous && !config.allowAnonymousEdits) {
delete config.permission.freely
}
if (!(config.defaultPermission in config.permission)) {