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>
This commit is contained in:
Sheogorath 2018-04-10 14:38:39 +02:00
parent bdb8631a7b
commit 2492cf2cdf
No known key found for this signature in database
GPG key ID: 1F05CC3635CDDFFD
3 changed files with 4 additions and 4 deletions

View file

@ -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)) {