summaryrefslogtreecommitdiff
path: root/lib/config
diff options
context:
space:
mode:
authorSheogorath2018-04-10 14:38:39 +0200
committerSheogorath2018-04-10 14:40:27 +0200
commit2492cf2cdfce5fdb935862bcf71bb036b1920327 (patch)
treef41c20344f27a99844e8baedc719fa2b709106ac /lib/config
parentbdb8631a7b99771990890db20b171618ef06c6e9 (diff)
Fix typos for `allowAnonymousEdits`
Looks like we lost some variables during the refactoring of the configs to camel case. This should fix it. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'lib/config')
-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)) {