diff options
author | Christoph (Sheogorath) Kern | 2018-01-20 18:56:09 +0100 |
---|---|---|
committer | GitHub | 2018-01-20 18:56:09 +0100 |
commit | b7e227e9d587af7268e126fca1db60ad3e1c29f9 (patch) | |
tree | 9596ac963ec1eeea3ee1370ec5963ef4d920568d /lib/config/index.js | |
parent | 2eb30782d558a6e2652ba37b090164369a23120b (diff) | |
parent | 6ae4b8bf1369bff8cc50325b66db66659d2718a5 (diff) |
Merge pull request #690 from Nebukadneza/add_allow_anonymous_edits
Add option to enable `freely` permission in closed instance
Diffstat (limited to 'lib/config/index.js')
-rw-r--r-- | lib/config/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config/index.js b/lib/config/index.js index d44207bf..3d22c3c3 100644 --- a/lib/config/index.js +++ b/lib/config/index.js @@ -49,7 +49,7 @@ if (config.ldap.tlsca) { // Permission config.permission = Permission -if (!config.allowanonymous) { +if (!config.allowanonymous && !config.allowanonymousedits) { delete config.permission.freely } if (!(config.defaultpermission in config.permission)) { |