summaryrefslogtreecommitdiff
path: root/lib/config/index.js
diff options
context:
space:
mode:
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)) {