summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSheogorath2020-06-13 11:26:29 +0200
committerGitHub2020-06-13 11:26:29 +0200
commit3436d118e53303802d09d345ba89566ae4db2850 (patch)
tree652660474187f427f2207f68d536702b7fede184
parent3d1fab0512a828927f277796a0e23e8133230be5 (diff)
parentc5ff30c5a1a147ab195772a340d63127d49e058f (diff)
Merge pull request #400 from david-sawatzke/fix-anonymous-edits-docu
Fix allow anonymous edit documentation
-rw-r--r--docs/configuration-config-file.md2
-rw-r--r--docs/configuration-env-vars.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/configuration-config-file.md b/docs/configuration-config-file.md
index 5134af7f..8009fd33 100644
--- a/docs/configuration-config-file.md
+++ b/docs/configuration-config-file.md
@@ -89,7 +89,7 @@ these are rarely used for various reasons.
| variables | example values | description |
| --------- | ------ | ----------- |
| `allowAnonymous` | `true` or `false` | Set to allow anonymous usage (default is `true`). |
-| `allowAnonymousEdits` | `true` or `false` | If `allowAnonymous` is `true`: allow users to select `freely` permission, allowing guests to edit existing notes (default is `false`). |
+| `allowAnonymousEdits` | `true` or `false` | If `allowAnonymous` is `false`: allow users to select `freely` permission, allowing guests to edit existing notes (default is `false`). |
| `allowFreeURL` | `true` or `false` | Set to allow new note creation by accessing a nonexistent note URL. This is the behavior familiar from [Etherpad](https://github.com/ether/etherpad-lite). |
| `defaultPermission` | `freely`, `editable`, `limited`, `locked`, `protected` or `private` | Set notes default permission (only applied on signed-in users). |
| `sessionName` | `connect.sid` | Cookie session name. |
diff --git a/docs/configuration-env-vars.md b/docs/configuration-env-vars.md
index d203c80b..06562c65 100644
--- a/docs/configuration-env-vars.md
+++ b/docs/configuration-env-vars.md
@@ -77,7 +77,7 @@ defaultNotePath can't be set from env-vars
| variable | example value | description |
| -------- | ------------- | ----------- |
| `CMD_ALLOW_ANONYMOUS` | `true` or `false` | Set to allow anonymous usage (default is `true`). |
-| `CMD_ALLOW_ANONYMOUS_EDITS` | `true` or `false` | If `allowAnonymous` is `false`: allow users to select `freely` permission, allowing guests to edit existing notes (default is `true`). |
+| `CMD_ALLOW_ANONYMOUS_EDITS` | `true` or `false` | If `allowAnonymous` is `false`: allow users to select `freely` permission, allowing guests to edit existing notes (default is `false`). |
| `CMD_ALLOW_FREEURL` | `true` or `false` | Set to allow new note creation by accessing a nonexistent note URL. This is the behavior familiar from [Etherpad](https://github.com/ether/etherpad-lite). |
| `CMD_DEFAULT_PERMISSION` | `freely`, `editable`, `limited`, `locked`, `protected` or `private` | Set notes default permission (only applied on signed-in users). |
| `CMD_SESSION_LIFE` | `1209600000` (14 days) | Cookie session life time in milliseconds. |